tab-seperated modals + eslint fix + much more bug fixed and improvements

This commit is contained in:
Daniel
2023-06-10 02:01:14 +03:30
parent dcdef77387
commit 2df4aad077
64 changed files with 713 additions and 373 deletions
+4 -4
View File
@@ -13,10 +13,10 @@ import Modal from "@/components/Modal";
import MainLayout from "@/layouts/MainLayout";
import ClickAwayHandler from "@/components/ClickAwayHandler";
import RadioButton from "@/components/RadioButton";
import CollectionInfo from "@/components/Modal/Collection/CollectionInfo";
import CollectionModal from "@/components/Modal/Collection";
import { useSession } from "next-auth/react";
export default function () {
export default function Collections() {
const { collections } = useCollectionStore();
const [expandDropdown, setExpandDropdown] = useState(false);
const [sortDropdown, setSortDropdown] = useState(false);
@@ -212,8 +212,8 @@ export default function () {
</div>
{collectionModal ? (
<Modal toggleModal={toggleCollectionModal}>
<CollectionInfo
<Modal toggleModal={toggleCollectionModal} className="h-[35rem]">
<CollectionModal
activeCollection={{
name: "",
description: "",