- { isLoading ?
:
+
+ {
+ isLoading ?
:

}
diff --git a/src/Layout/app/Layout.tsx b/src/Layout/app/Layout.tsx
index 6d1bf68..03b0c06 100644
--- a/src/Layout/app/Layout.tsx
+++ b/src/Layout/app/Layout.tsx
@@ -4,7 +4,9 @@ import Footer from '../Footer';
import { useFetchData } from '../../Hooks/useFetchData';
const Layout = (({ children, className = "" }: { children: React.ReactNode, className?: string }) => {
+
const { data, isLoading } = useFetchData('api/home');
+
return (
diff --git a/src/Pages/SingleProject/Page.tsx b/src/Pages/SingleProject/Page.tsx
index c703372..f516d51 100644
--- a/src/Pages/SingleProject/Page.tsx
+++ b/src/Pages/SingleProject/Page.tsx
@@ -9,7 +9,7 @@ import ReactPlayer from 'react-player';
import { useFetchData } from '../../Hooks/useFetchData';
const SingleProjectPage = () => {
- const { id } = useParams<{ id: string }>();
+ const { id } = useParams<{ id: string }>();
const { data, isLoading} = useFetchData('api/project');
const [playing, setPlaying] = useState(false);
diff --git a/src/api/config.ts b/src/api/config.ts
index 326e1cd..09e9c26 100644
--- a/src/api/config.ts
+++ b/src/api/config.ts
@@ -1,3 +1,4 @@
-export const BaseURL = `http://127.0.0.1:8000/`
+// export const BaseURL = `http://127.0.0.1:8000/`
+export const BaseURL = `http://misbar-back.point-dev.net/`
export const BaseURL_IMAGE = BaseURL.slice(0,-1);
diff --git a/src/type/ContactInfoProps.ts b/src/type/ContactInfoProps.ts
index fd74e5b..9ab4f62 100644
--- a/src/type/ContactInfoProps.ts
+++ b/src/type/ContactInfoProps.ts
@@ -1,4 +1,4 @@
interface ContactInfoProps {
title:string,
info:string,
-}
\ No newline at end of file
+}
diff --git a/src/type/HeaderLinks.ts b/src/type/HeaderLinks.ts
index e3faf75..27c70ce 100644
--- a/src/type/HeaderLinks.ts
+++ b/src/type/HeaderLinks.ts
@@ -4,5 +4,4 @@ interface HedaerLinksProps {
icon:any,
isOnlyDrawer?:boolean,
closeDrawer?: () => void;
-
}
diff --git a/src/type/app.ts b/src/type/app.ts
index cd14524..63fcaca 100644
--- a/src/type/app.ts
+++ b/src/type/app.ts
@@ -19,7 +19,7 @@ export type THeaderLink = {
isMulti?:boolean,
extraText?:string,
extraLink?:string,
- };
+};
export type THeaderPage = {
isHaveHeader?: boolean;
diff --git a/tsconfig.json b/tsconfig.json
index f3d90b3..3f5243d 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -23,7 +23,6 @@
"include": [
"src",
"**/*.ts",
- "src/Components/Theme2.tsx",
"src/auto-imports.d.ts" // Include the auto-imports.d.ts file here
]
}