File tree Expand file tree Collapse file tree 4 files changed +176
-171
lines changed
app/[lang]/[pathPrefix]/[pathSuffix] Expand file tree Collapse file tree 4 files changed +176
-171
lines changed Original file line number Diff line number Diff line change @@ -208,7 +208,11 @@ export default function Page({ params }: PageProps) {
208208 lang = { course . idioma }
209209 />
210210 ) }
211- { isClient && showCeloUbiButton && < CeloUbiButton /> }
211+ { isClient && showCeloUbiButton &&
212+ < CeloUbiButton
213+ lang = { course . idioma }
214+ />
215+ }
212216 </ aside >
213217
214218 < nav aria-label = "Guide navigation" > < table className = "mx-auto text-center mt-12" >
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ interface ClaimResult {
2525 txHash ?: string ;
2626}
2727
28- export function CeloUbiButton ( { lang = 'es ' } : CeloUbiButtonProps ) {
28+ export function CeloUbiButton ( { lang = 'en ' } : CeloUbiButtonProps ) {
2929 const { data : session } = useSession ( )
3030
3131 const [ claimState , setClaimState ] = useState < ClaimStatus > ( 'idle' )
@@ -34,7 +34,7 @@ export function CeloUbiButton({ lang = 'es' }: CeloUbiButtonProps) {
3434
3535 const t = ( key : string ) => {
3636 const translations : { [ key : string ] : { [ lang : string ] : string } } = {
37- claimButton : { es : 'Reclamar Beca Celo' , en : 'Claim Celo Scholarship ' } ,
37+ claimButton : { es : 'Reclamar UBI Celo' , en : 'Claim Celo UBI ' } ,
3838 loading : { es : 'Cargando...' , en : 'Loading...' } ,
3939 claiming : { es : 'Reclamando...' , en : 'Claiming...' } ,
4040 mustLogin : { es : 'Debes iniciar sesión para reclamar' , en : 'You must be logged in to claim' } ,
Original file line number Diff line number Diff line change 4141 "@rainbow-me/rainbowkit-siwe-next-auth" : " ^0.5.0" ,
4242 "@selfxyz/core" : " 1.1.0-beta.7" ,
4343 "@selfxyz/qrcode" : " ^1.0.17" ,
44- "@tanstack/react-query" : " ^5.90.15 " ,
44+ "@tanstack/react-query" : " ^5.90.16 " ,
4545 "axios" : " ^1.13.2" ,
4646 "class-variance-authority" : " ^0.7.1" ,
4747 "clsx" : " ^2.1.1" ,
7171 "siwe" : " ^3.0.0" ,
7272 "tailwind-merge" : " ^3.4.0" ,
7373 "unified" : " ^11.0.5" ,
74- "viem" : " ^2.43.3 " ,
74+ "viem" : " ^2.43.4 " ,
7575 "wagmi" : " ^2.19.5" ,
76- "zod" : " ^4.2.1 "
76+ "zod" : " ^4.3.4 "
7777 },
7878 "devDependencies" : {
7979 "@eslint/eslintrc" : " latest" ,
You can’t perform that action at this time.
0 commit comments