File tree Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 1- // Copyright 2022-2024 use-ink/contracts-ui authors & contributors
2- // SPDX-License-Identifier: GPL-3.0-only
3-
41module . exports = {
52 __version : '13.13.3' ,
63 'Storage Types Contract' : {
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export interface VersionSupported {
1515const VersionContext = createContext < VersionSupported | undefined > ( undefined ) ;
1616
1717export 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
3535export const getVersion = ( ) =>
36- ( localStorage . getItem ( LOCAL_STORAGE_KEY . VERSION ) as InkVersion | null ) || 'v6 ' ;
36+ ( localStorage . getItem ( LOCAL_STORAGE_KEY . VERSION ) as InkVersion | null ) || 'v5 ' ;
Original file line number Diff line number Diff line change @@ -5,12 +5,12 @@ export function VersionSelect() {
55 const { version, setVersion } = useVersion ( ) ;
66 const dropdownOptions = [
77 {
8- label : 'ink! v6 (default)' ,
9- value : 'v6 ' ,
8+ label : 'ink! v5 (default)' ,
9+ value : 'v5 ' ,
1010 } ,
1111 {
12- label : 'ink! v5 ' ,
13- value : 'v5 ' ,
12+ label : 'ink! v6 ' ,
13+ value : 'v6 ' ,
1414 } ,
1515 ] ;
1616 return (
You can’t perform that action at this time.
0 commit comments