backtest: add more react fix

This commit is contained in:
c9s 2022-06-07 22:33:50 +08:00
parent e92e0f04f3
commit ee70dc3f7c
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54
3 changed files with 3 additions and 4 deletions

View File

@ -111,11 +111,9 @@ function StatsGridIcons({data}: StatsGridIconsProps) {
}); });
return ( return (
<div py="xl"> <SimpleGrid cols={5} breakpoints={[{maxWidth: 'sm', cols: 1, spacing: 'xl'}]} py="xl">
<SimpleGrid cols={5} breakpoints={[{maxWidth: 'sm', cols: 1, spacing: 'xl'}]}>
{stats} {stats}
</SimpleGrid> </SimpleGrid>
</div>
); );
} }

View File

@ -134,6 +134,7 @@ interface Order {
status: string; status: string;
update_time: Date; update_time: Date;
creation_time: Date; creation_time: Date;
time?: Date;
} }
interface Marker { interface Marker {

View File

@ -22,7 +22,7 @@ const Home: NextPage = () => {
</Head> </Head>
<main className={styles.main}> <main className={styles.main}>
<AppShell <AppShell
padding="xm" padding="sm"
navbar={<Navbar width={{base: 250}} height={500} p="xs"> navbar={<Navbar width={{base: 250}} height={500} p="xs">
<ReportNavigator onSelect={(reportEntry) => { <ReportNavigator onSelect={(reportEntry) => {