aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/src/components/ProtectedRoute.tsx
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-11-08 16:18:26 +0900
committernsfisis <nsfisis@gmail.com>2025-11-08 16:18:26 +0900
commit750cb8f0835848b9f6c949397229a69d79d7637e (patch)
tree27bb389c31b18d1bdd3ce445fd0e913e966c13ec /frontend/src/components/ProtectedRoute.tsx
parent4bd2fae1fe729d9cf82bd9e4b39d39f806ce5758 (diff)
downloadfeedaka-750cb8f0835848b9f6c949397229a69d79d7637e.tar.gz
feedaka-750cb8f0835848b9f6c949397229a69d79d7637e.tar.zst
feedaka-750cb8f0835848b9f6c949397229a69d79d7637e.zip
refactor(frontend): Use Tailwind class instead of inlined style
Diffstat (limited to 'frontend/src/components/ProtectedRoute.tsx')
-rw-r--r--frontend/src/components/ProtectedRoute.tsx9
1 files changed, 1 insertions, 8 deletions
diff --git a/frontend/src/components/ProtectedRoute.tsx b/frontend/src/components/ProtectedRoute.tsx
index 206e5c5..e03a4f0 100644
--- a/frontend/src/components/ProtectedRoute.tsx
+++ b/frontend/src/components/ProtectedRoute.tsx
@@ -11,14 +11,7 @@ export function ProtectedRoute({ children }: Props) {
if (isLoading) {
return (
- <div
- style={{
- display: "flex",
- justifyContent: "center",
- alignItems: "center",
- minHeight: "100vh",
- }}
- >
+ <div className="flex justify-center items-center min-h-screen">
Loading...
</div>
);