feat(editor): Encapsulate the tools in the editor toolbar as independent components.

This commit is contained in:
Rafi
2023-04-19 16:52:41 +08:00
parent 7353614472
commit 31dc740554
4 changed files with 120 additions and 50 deletions

View File

@@ -9,4 +9,8 @@ export const useConversations = () => useState('conversations', () => [])
export const useUser = () => useState('user', () => null)
export const useDrawer = () => useState('drawer', () => false)
export const useDrawer = () => useState('drawer', () => false)
export const useEnableWebSearch = () => useState('enableWebSearch', () => false)
export const useFrugalMode = () => useState('frugalMode', () => false)