feat(hook): add markers state and setter to useProblem hook

This commit is contained in:
2025-03-25 13:05:22 +08:00
parent a7d0bc54bc
commit a55ef88745
+4
View File
@@ -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,