mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 07:16:34 +00:00
feat(hook): add problem field to useProblem hook
This commit is contained in:
parent
dcb666c12d
commit
7a0a13aa97
@ -49,6 +49,7 @@ export const useProblem = () => {
|
|||||||
setCurrentLang,
|
setCurrentLang,
|
||||||
setCurrentValue,
|
setCurrentValue,
|
||||||
problemId,
|
problemId,
|
||||||
|
problem,
|
||||||
templates,
|
templates,
|
||||||
editorLanguageConfigs,
|
editorLanguageConfigs,
|
||||||
languageServerConfigs,
|
languageServerConfigs,
|
||||||
@ -118,6 +119,7 @@ export const useProblem = () => {
|
|||||||
currentLang,
|
currentLang,
|
||||||
currentValue,
|
currentValue,
|
||||||
problemId,
|
problemId,
|
||||||
|
problem,
|
||||||
templates,
|
templates,
|
||||||
editorLanguageConfigs,
|
editorLanguageConfigs,
|
||||||
languageServerConfigs,
|
languageServerConfigs,
|
||||||
|
Loading…
Reference in New Issue
Block a user