File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed
components/ambassador-dao Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -511,9 +511,9 @@ export const baseOptions: BaseLayoutProps = {
511511 github ,
512512 userMenu ,
513513 ambassadorMenu ,
514- {
515- type : "custom" ,
516- children : < AuthButton /> ,
517- } ,
514+ // {
515+ // type: "custom",
516+ // children: <AuthButton />,
517+ // },
518518 ] ,
519519} ;
Original file line number Diff line number Diff line change 33import React , { useState } from "react" ;
44import { ListChecks } from "lucide-react" ;
55import { AuthModal } from "./sections/auth-modal" ;
6-
6+ import { useRouter } from "next/navigation" ;
77interface Step {
88 number : number ;
99 title : string ;
@@ -17,6 +17,7 @@ interface HowItWorksProps {
1717
1818const HowItWorks : React . FC < HowItWorksProps > = ( { steps } ) => {
1919 const [ openAuthModal , setOpenAuthModal ] = useState ( false ) ;
20+ const router = useRouter ( ) ;
2021
2122 return (
2223 < div className = 'dark:bg-black bg-white text-[var(--white-text-color)] py-8' >
@@ -57,7 +58,7 @@ const HowItWorks: React.FC<HowItWorksProps> = ({ steps }) => {
5758 className = { `${
5859 step . number === 1 ? "cursor-pointer" : ""
5960 } rounded-lg py-6 px-2 min-h-[80px] flex items-center text-wrap`}
60- onClick = { ( ) => step . number === 1 && setOpenAuthModal ( true ) }
61+ onClick = { ( ) => step . number === 1 && router . push ( "/login" ) }
6162 >
6263 < h3 className = 'text-base font-medium dark:text-white text-black' >
6364 { step . title }
Original file line number Diff line number Diff line change 11{
22 "avaplatform/avalanchego" : " v1.13.4" ,
3- "avaplatform/subnet-evm_avalanchego" : " v0.7.8_v1 .13.4 " ,
3+ "avaplatform/subnet-evm_avalanchego" : " v0.7.9_v1 .13.5 " ,
44 "avaplatform/icm-relayer" : " v1.6.6"
55}
You can’t perform that action at this time.
0 commit comments