File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
CCIP/TutorialBlockchainSelector Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -32,9 +32,9 @@ export const TutorialBlockchainSelector = () => {
3232 const currentState = laneStore . get ( )
3333 const bothChainsSelected = Boolean (
3434 currentState . sourceChain &&
35- currentState . destinationChain &&
36- currentState . sourceNetwork &&
37- currentState . destinationNetwork
35+ currentState . destinationChain &&
36+ currentState . sourceNetwork &&
37+ currentState . destinationNetwork
3838 )
3939 updateStepProgress ( "setup" , "blockchains-selected" , bothChainsSelected )
4040 }
Original file line number Diff line number Diff line change @@ -7,16 +7,16 @@ function MegaMenu() {
77 return (
88 < div className = { styles . wrapper } >
99 < div className = { styles . resourcesMenuContentMain } >
10- { megaMenuSections . map ( ( section ) => (
10+ { Object . values ( megaMenuSections ) . map ( ( section ) => (
1111 < div className = { styles . resourcesMenuContentRow } key = { section . title } >
1212 < h2 className = "label" > { section . title } </ h2 >
1313 { section . items ?. map ( ( item , index ) => (
1414 < MegaMenuItem
1515 key = { index }
16- image = { item . image ?. src }
16+ image = { item . icon ?. src }
1717 title = { item ?. title }
1818 description = { item . description }
19- links = { item . links }
19+ links = { [ { label : item . title , href : item . link } ] }
2020 />
2121 ) ) }
2222 </ div >
You can’t perform that action at this time.
0 commit comments