Commit 5a63649f authored by tom's avatar tom

add button to tx not found error screen

parent 4a6ac17d
/* eslint-disable max-len */
import { Box, OrderedList, ListItem, useColorModeValue, Flex, chakra } from '@chakra-ui/react';
import { Box, OrderedList, ListItem, useColorModeValue, Flex, chakra, Button } from '@chakra-ui/react';
import React from 'react';
import { route } from 'nextjs-routes';
import IconSvg from 'ui/shared/IconSvg';
import AppErrorTitle from '../AppErrorTitle';
......@@ -51,6 +53,15 @@ const AppErrorTxNotFound = () => {
<span> for additional information.</span>
</ListItem>
</OrderedList>
<Button
mt={ 8 }
size="lg"
variant="outline"
as="a"
href={ route({ pathname: '/' }) }
>
Back to home
</Button>
</>
);
};
......
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