Skip to content

Commit 7b2dc52

Browse files
committed
chore: v5 default
1 parent 775558d commit 7b2dc52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ui/contexts/VersionContext.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export interface VersionSupported {
1515
const VersionContext = createContext<VersionSupported | undefined>(undefined);
1616

1717
export const VersionContextProvider = ({ children }: React.PropsWithChildren) => {
18-
const [version, setVersion] = useLocalStorage<InkVersion>(LOCAL_STORAGE_KEY.VERSION, 'v6');
18+
const [version, setVersion] = useLocalStorage<InkVersion>(LOCAL_STORAGE_KEY.VERSION, 'v5');
1919

2020
useEffect(() => setVersion(version), [version]);
2121

@@ -33,4 +33,4 @@ export const useVersion = () => {
3333
};
3434

3535
export const getVersion = () =>
36-
(localStorage.getItem(LOCAL_STORAGE_KEY.VERSION) as InkVersion | null) || 'v6';
36+
(localStorage.getItem(LOCAL_STORAGE_KEY.VERSION) as InkVersion | null) || 'v5';

0 commit comments

Comments
 (0)