diff options
| author | 2023-04-19 17:30:39 +0800 | |
|---|---|---|
| committer | 2023-04-19 17:30:39 +0800 | |
| commit | 3adc965dd09490b7efa1cce9f09b0a3b30970277 (patch) | |
| tree | f813abb07d7b003984aa74e3154752b6ffc3ccd5 /envshare/app/components/error.tsx | |
| parent | c7c9ca6f0c8eddf6d34cd40779f3b2d9463f3a46 (diff) | |
| download | HydroRoll-3adc965dd09490b7efa1cce9f09b0a3b30970277.tar.gz HydroRoll-3adc965dd09490b7efa1cce9f09b0a3b30970277.zip | |
✨优化文档
Diffstat (limited to 'envshare/app/components/error.tsx')
| -rw-r--r-- | envshare/app/components/error.tsx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/envshare/app/components/error.tsx b/envshare/app/components/error.tsx deleted file mode 100644 index acf36d7..0000000 --- a/envshare/app/components/error.tsx +++ /dev/null @@ -1,11 +0,0 @@ -type Props = { - message: string; -}; - -export const ErrorMessage: React.FC<Props> = ({ message }) => { - return ( - <div className="flex items-center justify-center my-8 lg:my-16"> - <span className="px-4 py-2 text-red-500 border rounded border-red-500/50 bg-red-500/10"> {message}</span> - </div> - ); -}; |
