forked from aave/interface
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfaucet.page.tsx
More file actions
29 lines (26 loc) · 763 Bytes
/
faucet.page.tsx
File metadata and controls
29 lines (26 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import dynamic from 'next/dynamic';
import { MainLayout } from 'src/layouts/MainLayout';
import FaucetAssetsList from 'src/modules/faucet/FaucetAssetsList';
import { FaucetTopPanel } from 'src/modules/faucet/FaucetTopPanel';
import { ContentContainer } from '../src/components/ContentContainer';
const FaucetModal = dynamic(() =>
import('../src/components/transactions/Faucet/FaucetModal').then((module) => module.FaucetModal)
);
export default function Faucet() {
return (
<>
<FaucetTopPanel />
<ContentContainer>
<FaucetAssetsList />
</ContentContainer>
</>
);
}
Faucet.getLayout = function getLayout(page: React.ReactElement) {
return (
<MainLayout>
{page}
<FaucetModal />
</MainLayout>
);
};