diff --git a/apps/web/src/app/(evm)/swap/dca/loading.tsx b/apps/web/src/app/(evm)/swap/dca/loading.tsx index fb5ab4014d..2ab0c37541 100644 --- a/apps/web/src/app/(evm)/swap/dca/loading.tsx +++ b/apps/web/src/app/(evm)/swap/dca/loading.tsx @@ -1,7 +1,6 @@ -import React from "react"; -import SimpleSwapLoading from "../(simple)/loading"; +import React from 'react' +import SimpleSwapLoading from '../(simple)/loading' export default function Loader() { - return ; - + return } diff --git a/apps/web/src/app/(evm)/swap/dca/page.tsx b/apps/web/src/app/(evm)/swap/dca/page.tsx index 1a8addf736..67b369a371 100644 --- a/apps/web/src/app/(evm)/swap/dca/page.tsx +++ b/apps/web/src/app/(evm)/swap/dca/page.tsx @@ -2,20 +2,21 @@ import { Container } from '@sushiswap/ui' import { Providers } from '../(simple)/providers' import dynamic from 'next/dynamic' +const TWAPPanel = dynamic( + () => import('src/ui/swap/twap/twap').then((it) => it.TWAPPanel), + { ssr: false }, +) -const TWAPPanel = dynamic(() => import('src/ui/swap/twap/twap').then(it => it.TWAPPanel), {ssr: false}) - export const metadata = { title: 'SushiSwap', } export default function SwapTwapPage() { - return ( - - - - - - ) - } - \ No newline at end of file + return ( + + + + + + ) +}