mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-06 21:22:36 +00:00
chore: update demo banner
This commit is contained in:
@ -2,6 +2,7 @@ import { useEffect, useState } from "react";
|
||||
import { Outlet } from "react-router-dom";
|
||||
import { globalService } from "./services";
|
||||
import useUserStore from "./stores/v1/user";
|
||||
import DemoBanner from "./components/DemoBanner";
|
||||
|
||||
function App() {
|
||||
const userStore = useUserStore();
|
||||
@ -27,7 +28,14 @@ function App() {
|
||||
initialState();
|
||||
}, []);
|
||||
|
||||
return <>{!loading && <Outlet />}</>;
|
||||
return (
|
||||
!loading && (
|
||||
<>
|
||||
<DemoBanner />
|
||||
<Outlet />
|
||||
</>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
export default App;
|
||||
|
Reference in New Issue
Block a user