mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-05-02 19:26:50 -05:00
* queries for play service * seed ladder day * seed ladder registered teams * ladder day get for future * seed add ladder matches * extract RegisterTab component * MyError / MySpinner * tweaks * FAQ tab * add to faq * stats tab * tabs to search params * tabs for mobile
13 lines
243 B
TypeScript
13 lines
243 B
TypeScript
import { Alert, AlertIcon } from "@chakra-ui/alert";
|
|
|
|
const MyError = ({ message }: { message: string }) => {
|
|
return (
|
|
<Alert status="error" rounded="lg">
|
|
<AlertIcon />
|
|
{message}
|
|
</Alert>
|
|
);
|
|
};
|
|
|
|
export default MyError;
|