Skip to content

Commit

Permalink
replace Text with Box
Browse files Browse the repository at this point in the history
  • Loading branch information
maxaleks committed Aug 1, 2024
1 parent 2ba7d62 commit a5a2b75
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/shared/EmptySearchResult.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Box, Heading, Text, Icon } from '@chakra-ui/react';
import { Box, Heading, Icon } from '@chakra-ui/react';
import React from 'react';

// This icon doesn't work properly when it is in the sprite
Expand Down Expand Up @@ -30,9 +30,9 @@ const EmptySearchResult = ({ text }: Props) => {
No results
</Heading>

<Text as="div" fontSize={{ base: 'sm', sm: 'md' }} align="center">
<Box fontSize={{ base: 'sm', sm: 'md' }} textAlign="center">
{ text }
</Text>
</Box>
</Box>
);
};
Expand Down

0 comments on commit a5a2b75

Please sign in to comment.