Skip to content

Commit 0c4e721

Browse files
committed
fix type error
1 parent 40de50a commit 0c4e721

File tree

1 file changed

+19
-21
lines changed

1 file changed

+19
-21
lines changed

app/src/App.tsx

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,24 @@ function ResultsTable() {
99
});
1010

1111
return (
12-
<>
13-
<h1>sqlite</h1>
14-
15-
<table>
16-
<thead>
17-
<tr>
18-
<th>benchmark</th>
19-
<th>name</th>
20-
<th>ops</th>
12+
<table>
13+
<thead>
14+
<tr>
15+
<th>benchmark</th>
16+
<th>name</th>
17+
<th>ops</th>
18+
</tr>
19+
</thead>
20+
<tbody>
21+
{results?.map((r, i) => (
22+
<tr key={i}>
23+
<td>{r.benchmark}</td>
24+
<td>{r.name}</td>
25+
<td>{r.ops}</td>
2126
</tr>
22-
</thead>
23-
<tbody>
24-
{results?.map((r, i) => (
25-
<tr key={i}>
26-
<td>{r.benchmark}</td>
27-
<td>{r.name}</td>
28-
<td>{r.ops}</td>
29-
</tr>
30-
))}
31-
</tbody>
32-
</table>
33-
</>
27+
))}
28+
</tbody>
29+
</table>
3430
);
3531
}
3632

@@ -47,6 +43,8 @@ function App() {
4743

4844
<AppShell.Main pt={`calc(${rem(60)} + var(--mantine-spacing-md))`}>
4945
<Graph />
46+
<h1>Results</h1>
47+
<ResultsTable />
5048
</AppShell.Main>
5149
</AppShell>
5250
</MantineProvider>

0 commit comments

Comments
 (0)