mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-17 23:12:23 +00:00
feat(hook): add markers state and setter to useProblem hook
This commit is contained in:
parent
a7d0bc54bc
commit
a55ef88745
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user