diff --git a/src/App.tsx b/src/App.tsx index 095b086..2788055 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,29 +1,22 @@ -import { lazy, Suspense } from "react"; +import { Suspense } from "react"; import { Route, Routes } from "react-router-dom"; -import Kamus from "./pages/Kamus"; - -const Home = lazy(() => import("@/pages/Home")); +import myRoute from "./routes/routes"; const App = () => { return ( - Loading...}> - - - } - /> - Loading...}> - - - } - /> + {myRoute.map((route, index) => ( + Loading...}> + + + } + /> + ))} ); diff --git a/src/components/organisms/HeaderPage.tsx b/src/components/organisms/HeaderPage.tsx index a0bbc71..e3935c9 100644 --- a/src/components/organisms/HeaderPage.tsx +++ b/src/components/organisms/HeaderPage.tsx @@ -17,7 +17,7 @@ const HeaderPage = () => { />

K-SULI

-

Kedai Susu Tuli

+

Kedai Susu Tuli