diff --git a/src/app/[locale]/solves/page.tsx b/src/app/[locale]/solves/page.tsx index 23e16c79..e418e9e5 100644 --- a/src/app/[locale]/solves/page.tsx +++ b/src/app/[locale]/solves/page.tsx @@ -45,14 +45,10 @@ export default function Page() { - {selectedCube && ( - - )} + - {selectedCube && ( - - )} + diff --git a/src/components/solves/SolvesArea.tsx b/src/components/solves/SolvesArea.tsx index 6a9294d3..c39f21b4 100644 --- a/src/components/solves/SolvesArea.tsx +++ b/src/components/solves/SolvesArea.tsx @@ -15,10 +15,9 @@ import { useDialogSolve } from "@/store/DialogSolve"; import { sort } from "fast-sort"; import { useSolveFiltersStore } from "@/store/SolvesFilters"; import { filterData, SearchType } from "filter-data"; -import { Solves } from "@/interfaces/Solves"; interface SolvesArea { - displaySolves: Solve[]; + displaySolves: Solve[] | undefined; } export function SolvesArea({ displaySolves }: SolvesArea) {