mirror of
https://github.com/lux-tel/websites.git
synced 2026-10-30 20:31:36 +00:00
17 lines
339 B
TypeScript
17 lines
339 B
TypeScript
'use client';
|
|
import { use } from 'react';
|
|
|
|
import { Faucet } from '@/app/faucet/Faucet';
|
|
|
|
interface FaucetCodePageParams {
|
|
params: Promise<{
|
|
code: string;
|
|
}>;
|
|
}
|
|
|
|
export default function FaucetCodePage(props: FaucetCodePageParams) {
|
|
const params = use(props.params);
|
|
const { code } = params;
|
|
return <Faucet code={code} />;
|
|
}
|