mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-03 11:33:34 +00:00
Remove unused config optional hook (#39957)
Co-authored-by: Kit Langton <kit.langton@gmail.com>
This commit is contained in:
parent
97f5fb3399
commit
b5afaed053
1 changed files with 0 additions and 4 deletions
|
|
@ -262,7 +262,3 @@ export function useConfig() {
|
|||
if (!value) throw new Error("ConfigProvider is missing")
|
||||
return value
|
||||
}
|
||||
|
||||
export function useConfigOptional() {
|
||||
return useContext(ConfigContext)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue