aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/src/components/ProtectedRoute.tsx
diff options
context:
space:
mode:
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>
);