From 00ffea6a46890bdeac160f8a35b91a7d9298b721 Mon Sep 17 00:00:00 2001
From: Pinapelz <yukais@pinapelz.com>
Date: Sun, 26 Oct 2025 21:12:30 -0700
Subject: create component for loading screen

---
 frontend/src/pages/Import.tsx | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

(limited to 'frontend/src/pages/Import.tsx')

diff --git a/frontend/src/pages/Import.tsx b/frontend/src/pages/Import.tsx
index 2af4a0e..4061613 100644
--- a/frontend/src/pages/Import.tsx
+++ b/frontend/src/pages/Import.tsx
@@ -1,5 +1,6 @@
 import { useState, useEffect, Suspense, lazy } from "react";
 import { useNavigate } from "react-router";
+import LoadingDisplay from "../components/displays/LoadingDisplay";
 import { useAuth } from "../contexts/AuthContext";
 import SessionExpiredPopup from "../components/SessionExpiredPopup";
 import type { SupportedGame } from "../types/game";
@@ -202,12 +203,7 @@ const Import = () => {
 
   if (isLoading) {
     return (
-      <div className="min-h-screen bg-slate-950 flex items-center justify-center">
-        <div className="text-center">
-          <div className="w-8 h-8 border-2 border-violet-500 border-t-transparent rounded-full animate-spin mx-auto mb-4"></div>
-          <p className="text-slate-300">Loading import page...</p>
-        </div>
-      </div>
+      <LoadingDisplay message="Loading Import Page..." />
     );
   }
 
-- 
cgit v1.2.3

