File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export interface VersionSupported {
15
15
const VersionContext = createContext < VersionSupported | undefined > ( undefined ) ;
16
16
17
17
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 ' ) ;
19
19
20
20
useEffect ( ( ) => setVersion ( version ) , [ version ] ) ;
21
21
@@ -33,4 +33,4 @@ export const useVersion = () => {
33
33
} ;
34
34
35
35
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 ' ;
You can’t perform that action at this time.
0 commit comments