Commit a5a2b755 authored by Max Alekseenko's avatar Max Alekseenko

replace Text with Box

parent 2ba7d62c
import { Box, Heading, Text, Icon } from '@chakra-ui/react'; import { Box, Heading, Icon } from '@chakra-ui/react';
import React from 'react'; import React from 'react';
// This icon doesn't work properly when it is in the sprite // This icon doesn't work properly when it is in the sprite
...@@ -30,9 +30,9 @@ const EmptySearchResult = ({ text }: Props) => { ...@@ -30,9 +30,9 @@ const EmptySearchResult = ({ text }: Props) => {
No results No results
</Heading> </Heading>
<Text as="div" fontSize={{ base: 'sm', sm: 'md' }} align="center"> <Box fontSize={{ base: 'sm', sm: 'md' }} textAlign="center">
{ text } { text }
</Text> </Box>
</Box> </Box>
); );
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment