website refactor
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
'use client';
|
||||
|
||||
import React from 'react';
|
||||
import { Box } from '@/ui/Box';
|
||||
import { Stack } from '@/ui/Stack';
|
||||
import { Text } from '@/ui/Text';
|
||||
import { Icon } from '@/ui/Icon';
|
||||
@@ -97,7 +96,7 @@ function StatusBadge({ status }: { status: RaceEntry['status'] }) {
|
||||
};
|
||||
|
||||
return (
|
||||
<Box
|
||||
<Stack
|
||||
as="span"
|
||||
px={2}
|
||||
py={0.5}
|
||||
@@ -113,6 +112,6 @@ function StatusBadge({ status }: { status: RaceEntry['status'] }) {
|
||||
display="inline-block"
|
||||
>
|
||||
{status.toUpperCase()}
|
||||
</Box>
|
||||
</Stack>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user