Skip to content
Snippets Groups Projects
Commit aeee7596 authored by Jellie's avatar Jellie
Browse files

add temp alert for network outage

parent d44afad9
No related branches found
No related tags found
No related merge requests found
import * as React from 'react'
import { ChakraProvider } from '@chakra-ui/react'
import { ChakraProvider, Alert, AlertIcon, AlertTitle, AlertDescription } from '@chakra-ui/react'
import * as ReactDOM from 'react-dom/client'
import App from './App'
import { ColorModeScript } from '@chakra-ui/react'
......@@ -9,6 +9,11 @@ const rootElement = document.getElementById('root')
ReactDOM.createRoot(rootElement).render(
<React.StrictMode>
<ChakraProvider>
<Alert status='error'>
<AlertIcon />
<AlertTitle>Search Suggestions are unavailable at this time.</AlertTitle>
<AlertDescription>Due to an ISP issue, the api is down. Search suggestions will not function.</AlertDescription>
</Alert>
<App />
<ColorModeScript initialColorMode={theme.config.initialColorMode} />
</ChakraProvider>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment