Skip to content

Commit b31adff

Browse files
committed
Updates dependecies apss/nextjs
1 parent c27d1d2 commit b31adff

File tree

4 files changed

+176
-171
lines changed

4 files changed

+176
-171
lines changed

apps/nextjs/app/[lang]/[pathPrefix]/[pathSuffix]/page.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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">

apps/nextjs/components/CeloUbiButton.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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' },

apps/nextjs/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
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",
@@ -71,9 +71,9 @@
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",

0 commit comments

Comments
 (0)