feat: save instruction for new threads as a stable feature (#3798)

This commit is contained in:
Faisal Amir 2024-10-15 00:22:58 +07:00 committed by GitHub
parent 87e33497ce
commit 5d628a2748
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2 additions and 3 deletions

View File

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

View File

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

View File

@ -251,7 +251,7 @@ const ThreadRightPanel = () => {
onChange={onAssistantInstructionChanged}
/>
</div>
{experimentalFeature && <CopyOverInstruction />}
<CopyOverInstruction />
</div>
</TabsContent>
<TabsContent value="model">