Skip to content

Commit 3327cb1

Browse files
committed
Merge branch 'testnet' into mainnet
2 parents 62bd8fc + 6f24a06 commit 3327cb1

File tree

12 files changed

+88
-83
lines changed

12 files changed

+88
-83
lines changed

public/icons/ekubo.webp

12.8 KB
Loading

public/icons/uniswap.svg

Lines changed: 48 additions & 0 deletions
Loading

src/app/(routes)/layout.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
import Footer from '@/components/footer';
1+
import dynamic from 'next/dynamic';
22
import Navbar from '@/components/navbar';
33
import React from 'react';
44

5+
const Footer = dynamic(() => import('@/components/footer'), {
6+
ssr: false,
7+
});
8+
59
function layout({ children }: { children: React.ReactNode }) {
610
return (
711
<div>

src/app/(routes)/provisions/page.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@ import {
2828
} from '@/Blockchain/scripts/claimProxy';
2929
import { useDrawContext } from '@/context/DrawerContext';
3030
import Hero from '@/features/provisions/Hero';
31-
import FAQs from '@/features/provisions/Faqs';
31+
3232
import { EligibilityChecker } from '@/features/provisions/EligibilityChecker';
3333
import { ProvisionCard } from '@/features/provisions/ProvisionCard';
34+
import FAQs from '@/features/provisions/Faqs';
3435

3536
export const dynamic = 'force-static';
3637
export const runtime = 'nodejs';

src/app/(routes)/tokenomics/page.tsx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
'use client';
22
import React from 'react';
3-
4-
import EmissionRateChart from '@/components/charts/EmissionRateChart';
3+
import dynamic from 'next/dynamic';
54
import EmissionDashboard from '@/components/EmissionDashboard';
65
import Hero from '@/features/tokenomics/Hero';
7-
import Market from '@/features/tokenomics/Market';
6+
7+
const Market = dynamic(() => import('@/features/tokenomics/Market'), {
8+
ssr: false,
9+
});
10+
const EmissionRateChart = dynamic(
11+
() => import('@/components/charts/EmissionRateChart'),
12+
{ ssr: false }
13+
);
814

915
export default function Tokenomics() {
1016
return (

src/app/layout.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ export const metadata: Metadata = {
1212
verification: {
1313
google: '9U0-YnKdWueBdZmj8Y5_JEkGNPOiV-_d8cPrmjIgifs',
1414
},
15-
other: {
16-
'Cache-Control': 'no-cache, must-revalidate',
17-
Pragma: 'no-cache',
18-
Expires: '0',
19-
},
2015
};
2116

2217
export default function RootLayout({

src/assets/Icons/hashstackLogoMobile.tsx

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/assets/ekuboIcon.tsx

Lines changed: 11 additions & 29 deletions
Large diffs are not rendered by default.

src/assets/uniswapLogo.tsx

Lines changed: 11 additions & 14 deletions
Large diffs are not rendered by default.

src/components/footer/index.tsx

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,10 @@
11
'use client';
2-
3-
import { useAccount, useBlockNumber, useNetwork } from '@starknet-react/core';
4-
import { useMediaQuery } from '@/hooks/useMediaQuery';
52
import React, { useEffect, useState } from 'react';
6-
import { AccountInterface, BlockNumber } from 'starknet';
3+
import { AccountInterface } from 'starknet';
74
import { getProtocolReserves } from '@/Blockchain/scripts/claimProxy';
85
import { MetricsSlider } from './MetricsSlider';
96
import { FooterLinks } from './FooterLinks';
107

11-
interface ExtendedAccountInterface extends AccountInterface {
12-
provider?: {
13-
chainId: string;
14-
};
15-
}
16-
178
const Footer: React.FC = () => {
189
const [protocolReserves, setProtocolReserves] =
1910
useState<Record<string, number>>();

0 commit comments

Comments
 (0)