From a55ef887459f177afd7659538ad86c61a423ecdd Mon Sep 17 00:00:00 2001 From: cfngc4594 Date: Tue, 25 Mar 2025 13:05:22 +0800 Subject: [PATCH] feat(hook): add markers state and setter to useProblem hook --- src/hooks/use-problem.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/hooks/use-problem.ts b/src/hooks/use-problem.ts index ab2005f..38fb421 100644 --- a/src/hooks/use-problem.ts +++ b/src/hooks/use-problem.ts @@ -39,11 +39,13 @@ export const useProblem = () => { const { hydrated, editor, + markers, webSocket, globalLang, currentLang, currentValue, setEditor, + setMarkers, setWebSocket, setGlobalLang, setCurrentLang, @@ -112,8 +114,10 @@ export const useProblem = () => { return { hydrated, editor, + markers, webSocket, setEditor, + setMarkers, setWebSocket, globalLang, currentLang,