diff --git a/src/components/collection/collection-entry/view/CollectionEntriesView.tsx b/src/components/collection/collection-entry/view/CollectionEntriesView.tsx index 27adb29..97b6bd1 100644 --- a/src/components/collection/collection-entry/view/CollectionEntriesView.tsx +++ b/src/components/collection/collection-entry/view/CollectionEntriesView.tsx @@ -1,6 +1,6 @@ import React, { useCallback, useMemo, useState } from "react"; import { CollectionEntry, Game } from "@/wrapper/server"; -import { Skeleton, Stack } from "@mantine/core"; +import { Flex, Skeleton, Stack } from "@mantine/core"; import GameView from "@/components/game/view/GameView"; import CenteredLoading from "@/components/general/CenteredLoading"; import { Box, Space } from "@mantine/core"; @@ -53,21 +53,27 @@ const CollectionEntriesView = ({ mt={"md"} > - - - + + + + + + {isLoading && buildLoadingSkeletons()} diff --git a/src/components/general/input/select/SelectWithOrdering.tsx b/src/components/general/input/select/SelectWithOrdering.tsx index a019cfe..7967bd3 100644 --- a/src/components/general/input/select/SelectWithOrdering.tsx +++ b/src/components/general/input/select/SelectWithOrdering.tsx @@ -2,7 +2,8 @@ import React, { useState } from "react"; import { Group, Select, SelectProps, Text } from "@mantine/core"; import { IconSortAscending, IconSortDescending } from "@tabler/icons-react"; -interface Props extends Omit { +interface Props + extends Omit { defaultValue: string; onChange: (value: string, order: "ASC" | "DESC") => void; } @@ -23,28 +24,31 @@ const SelectWithOrdering = ({ "ASC" | "DESC" >("DESC"); + console.log(internalSelectedItem, internalSelectedOrdering); + return (