- } />
- } />
- } />
- } />
- } />
- } />
- } />
+ } />
+ } />
+ } />
+ } />
+ } />
+ } />
+ } />
+ } />
+ } />
diff --git a/client/src/components/pages/Collection.tsx b/client/src/components/pages/Collection.tsx
index 31a9c3c..ffcc498 100644
--- a/client/src/components/pages/Collection.tsx
+++ b/client/src/components/pages/Collection.tsx
@@ -1,14 +1,40 @@
-import { Page } from "../ui";
+import { useAuthContext } from "../../context/AuthContext";
+import Protect from "../../util/Protect";
+import { useParams } from "react-router-dom";
+import { useState } from "react";
+
+const Collection = () => {
+ const [isDefault, setIsDefault] = useState(true);
+ const { user } = useAuthContext();
+ const { id } = useParams();
+
+ if (id) {
+ setIsDefault(false);
+ }
-export default function Collection() {
return (
-