feat(provider): initialize markers in problem store provider

This commit is contained in:
cfngc4594 2025-03-25 13:03:40 +08:00
parent 2c013097a8
commit a7d0bc54bc

View File

@ -40,6 +40,7 @@ export const ProblemStoreProvider = ({
storeRef.current = createProblemStore({ storeRef.current = createProblemStore({
hydrated: false, hydrated: false,
editor: null, editor: null,
markers: [],
webSocket: null, webSocket: null,
globalLang: EditorLanguage.c, globalLang: EditorLanguage.c,
currentLang: EditorLanguage.c, currentLang: EditorLanguage.c,