diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..52a35d23 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "files.associations": { + "manifest.json": "jsonc" + } +} diff --git a/apps/ai-assistant/src/hooks/atoms/config.ts b/apps/ai-assistant/src/hooks/atoms/config.ts index 9c6fda05..c7bbf299 100644 --- a/apps/ai-assistant/src/hooks/atoms/config.ts +++ b/apps/ai-assistant/src/hooks/atoms/config.ts @@ -1,6 +1,6 @@ import { atomWithStorage } from 'jotai/utils'; import { createStorage } from '@webx-kit/storage'; -const chromeStorage = createStorage(); +const chromeStorage = createStorage({ prefix: 'config:' }); export const apiKeyAtom = atomWithStorage('apiKey', null, chromeStorage);