feat(hook): add problem field to useProblem hook

This commit is contained in:
cfngc4594 2025-03-24 10:29:46 +08:00
parent dcb666c12d
commit 7a0a13aa97

View File

@ -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,