mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
15 lines
403 B
TypeScript
15 lines
403 B
TypeScript
import { chakra } from '@chakra-ui/react';
|
|
import React from 'react';
|
|
|
|
import { Alert } from 'toolkit/chakra/alert';
|
|
|
|
const DataFetchAlert = ({ className }: { className?: string }) => {
|
|
return (
|
|
<Alert status="warning" width="fit-content" className={ className }>
|
|
Something went wrong. Try refreshing the page or come back later.
|
|
</Alert>
|
|
);
|
|
};
|
|
|
|
export default chakra(DataFetchAlert);
|