Skip to content

Commit b6d0ff9

Browse files
committed
Fix wrong local storage key names
1 parent c7d49a4 commit b6d0ff9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/store/video.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ export const videoElementAtom = atom<HTMLVideoElement | null>(null);
1919
export const isPlayingAtom = atom(false);
2020
export const currentTimeAtom = atom(0);
2121
export const durationAtom = atom(0);
22-
export const volumeAtom = atomWithStorage("oktomusic:volume", 1);
23-
export const isMutedAtom = atomWithStorage("oktomusic:muted", false);
22+
export const volumeAtom = atomWithStorage("fluorite:volume", 1);
23+
export const isMutedAtom = atomWithStorage("fluorite:muted", false);
2424
export const isSeekingAtom = atom(false);
25-
export const playbackRateAtom = atomWithStorage("oktomusic:playbackRate", 1);
26-
export const loopAtom = atomWithStorage("oktomusic:loop", false);
25+
export const playbackRateAtom = atomWithStorage("fluorite:playbackRate", 1);
26+
export const loopAtom = atomWithStorage("fluorite:loop", false);
2727

2828
// UI STATE ATOMS
2929
export const showControlsAtom = atom(true);

0 commit comments

Comments
 (0)