Skip to content

Commit

Permalink
refactor: remove not needed hook (#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanlundberg authored Sep 8, 2024
1 parent 2890ff9 commit d53ff95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions src/app/[locale]/cubes/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@ import { OverallHeader } from "@/components/OverallHeader";
import { OptionsContainer } from "@/components/cubes/OptionsContainer";
import { useCubes } from "@/hooks/useCubes";
import { AnimatePresence } from "framer-motion";
import useModalCube from "@/hooks/useModalCube";
import { useCubesModalStore } from "@/store/CubesModalStore";
import { useTranslations } from "next-intl";
import { PlusIcon } from "@heroicons/react/24/solid";

export default function CubesPage() {
const { filterCubes, handleSearchFilter } = useCubes();
const { modalOpen, setModalOpen } = useCubesModalStore();
const { setSelectedCategory } = useModalCube();
const { modalOpen, setModalOpen, setSelectedCategory } = useCubesModalStore();
const t = useTranslations("Index.CubesPage");
return (
<>
Expand Down
1 change: 1 addition & 0 deletions src/components/cubes/ModalCreate.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import { InputText } from "@/components/input-text/index";
import CheckboxImage from "@/components/cubes/CheckboxImage";
import { cubeCollection } from "@/lib/const/cubeCollection";
Expand Down

0 comments on commit d53ff95

Please sign in to comment.