vega-frontend-monorepo/apps/trading/client-pages/fees/fees.tsx

21 lines
628 B
TypeScript
Raw Permalink Normal View History

2024-02-13 16:17:00 +00:00
import { TinyScroll } from '@vegaprotocol/ui-toolkit';
import { ErrorBoundary } from '../../components/error-boundary';
2023-10-25 21:59:30 +00:00
import { FeesContainer } from '../../components/fees-container';
import { useT } from '../../lib/use-t';
2024-02-13 16:17:00 +00:00
import { usePageTitle } from '../../lib/hooks/use-page-title';
2023-10-25 21:59:30 +00:00
export const Fees = () => {
const t = useT();
const title = t('Fees');
2024-02-13 16:17:00 +00:00
usePageTitle(title);
2023-10-25 21:59:30 +00:00
return (
<ErrorBoundary feature="fees">
2024-02-13 16:17:00 +00:00
<TinyScroll className="p-4 max-h-full overflow-auto">
<h1 className="md:px-4 pb-4 text-2xl">{title}</h1>
<FeesContainer />
2024-02-13 16:17:00 +00:00
</TinyScroll>
</ErrorBoundary>
2023-10-25 21:59:30 +00:00
);
};