diff --git a/web/hooks/useLoadTheme.ts b/web/hooks/useLoadTheme.ts index 314aaf8be4..eb9455da82 100644 --- a/web/hooks/useLoadTheme.ts +++ b/web/hooks/useLoadTheme.ts @@ -18,7 +18,7 @@ import { type NativeThemeProps = 'light' | 'dark' -export const useLoadTheme = async () => { +export const useLoadTheme = () => { const janDataFolderPath = useAtomValue(janDataFolderPathAtom) const setThemeOptions = useSetAtom(themesOptionsAtom) const setThemePath = useSetAtom(janThemesPathAtom) diff --git a/web/package.json b/web/package.json index 5a8b3ea347..1cf5aa752f 100644 --- a/web/package.json +++ b/web/package.json @@ -74,7 +74,6 @@ "eslint-plugin-import": "^2.28.1", "eslint-plugin-prettier": "^5.0.1", "eslint-plugin-react": "^7.34.0", - "eslint-plugin-react-hooks": "^4.6.0", "jest-environment-jsdom": "^29.7.0", "jest-runner": "^29.7.0", "prettier": "^3.0.3", diff --git a/web/screens/Thread/ThreadRightPanel/index.tsx b/web/screens/Thread/ThreadRightPanel/index.tsx index 027d1b0b6c..0bf917015c 100644 --- a/web/screens/Thread/ThreadRightPanel/index.tsx +++ b/web/screens/Thread/ThreadRightPanel/index.tsx @@ -251,7 +251,7 @@ const ThreadRightPanel = () => { onChange={onAssistantInstructionChanged} /> - {experimentalFeature && } +