diff --git a/src/App.tsx b/src/App.tsx index 630b7e6..8ad6d71 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,9 +1,8 @@ -import React, { useEffect, Suspense } from 'react'; +import React, { useEffect } from 'react'; import useStore from '@store/store'; import Chat from '@components/Chat'; import Menu from '@components/Menu'; -import LoadingScreen from '@components/LoadingScreen'; import useInitialiseNewChat from '@hooks/useInitialiseNewChat'; import { ChatInterface } from '@type/chat'; @@ -66,12 +65,10 @@ function App() { }, []); return ( - }> -
- - -
-
+
+ + +
); } diff --git a/src/components/LoadingScreen/LoadingScreen.tsx b/src/components/LoadingScreen/LoadingScreen.tsx deleted file mode 100644 index abd35e0..0000000 --- a/src/components/LoadingScreen/LoadingScreen.tsx +++ /dev/null @@ -1,12 +0,0 @@ -import React from 'react'; -import SpinnerIcon from '@icon/SpinnerIcon'; - -const LoadingScreen = () => { - return ( -
- -
- ); -}; - -export default LoadingScreen; diff --git a/src/components/LoadingScreen/index.ts b/src/components/LoadingScreen/index.ts deleted file mode 100644 index efecfe1..0000000 --- a/src/components/LoadingScreen/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { default } from './LoadingScreen';