mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2025-05-18 23:42:24 +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