There was an error while loading. Please reload this page.
2 parents b98ef59 + 803af9a commit 9903d87Copy full SHA for 9903d87
packages/app/src/app/dashboard/_components/recentRaces.tsx
@@ -48,11 +48,7 @@ export function RecentRacesTable({
48
cell: ({ cell }) => {
49
const snippet = cell.getValue() as Snippet;
50
51
- if (snippet.name === "undefined") {
52
- return <span>-</span>
53
- } else {
54
- return <span>{snippet.name!}</span>
55
- }
+ return <span>{snippet.name ?? "-"}</span>
56
}
57
},
58
{
0 commit comments