This commit is contained in:
Fredrik Burmester
2024-10-06 13:03:16 +02:00
parent cc242a971f
commit 0233862fc1
13 changed files with 941 additions and 391 deletions

View File

@@ -133,7 +133,7 @@ const saveSettings = async (settings: Settings) => {
};
// Create an atom to store the settings in memory
const settingsAtom = atom<Settings | null>(null);
export const settingsAtom = atom<Settings | null>(null);
// A hook to manage settings, loading them on initial mount and providing a way to update them
export const useSettings = () => {