website refactor
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
import React from 'react';
|
||||
import { Stack } from '@/ui/Stack';
|
||||
import { Text } from '@/ui/Text';
|
||||
import { Box } from '@/ui/Box';
|
||||
|
||||
interface NotFoundDiagnosticsProps {
|
||||
errorCode: string;
|
||||
@@ -18,7 +17,7 @@ interface NotFoundDiagnosticsProps {
|
||||
export function NotFoundDiagnostics({ errorCode }: NotFoundDiagnosticsProps) {
|
||||
return (
|
||||
<Stack gap={3} align="center">
|
||||
<Box
|
||||
<Stack
|
||||
px={3}
|
||||
py={1}
|
||||
border
|
||||
@@ -36,7 +35,7 @@ export function NotFoundDiagnostics({ errorCode }: NotFoundDiagnosticsProps) {
|
||||
>
|
||||
{errorCode}
|
||||
</Text>
|
||||
</Box>
|
||||
</Stack>
|
||||
<Text
|
||||
size="xs"
|
||||
color="text-gray-500"
|
||||
|
||||
Reference in New Issue
Block a user