summaryrefslogtreecommitdiff
path: root/src/pages/index.js
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2022-10-31 16:31:56 +0700
committerIT Fixcomart <it@fixcomart.co.id>2022-10-31 16:31:56 +0700
commitd6d2d9ceef2e95b604ac4ebdc054cad44a8440b1 (patch)
tree376278eb3f7baa6b9405177b8fb57805d4a066b9 /src/pages/index.js
parent97c98e0a6fa0757e58ca9dacf8e720a52e10dcf5 (diff)
Product detail and header
Diffstat (limited to 'src/pages/index.js')
-rw-r--r--src/pages/index.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/pages/index.js b/src/pages/index.js
new file mode 100644
index 00000000..57f96ec9
--- /dev/null
+++ b/src/pages/index.js
@@ -0,0 +1,12 @@
+import { useEffect, useState } from "react";
+import Header from "../components/header";
+
+export default function Home() {
+ const [product, setProduct] = useState({});
+
+ return (
+ <>
+ <Header />
+ </>
+ )
+}