Add Appearances #64 #26, remove redux and clean up some code

This commit is contained in:
prayag17 committed 2023-05-04 14:24:51 +05:30
1 parent a16523118b
commit e47b7afd15
18 files changed
+224 -372

No files matched your search

+4 -4
View File
@@ -30,7 +30,6 @@ import TableRow from "@mui/material/TableRow";
import TableCell from "@mui/material/TableCell";
import IconButton from "@mui/material/IconButton";
import Pagination from "@mui/material/Pagination";
import ButtonBase from "@mui/material/ButtonBase";
import { theme } from "../../theme";
@@ -386,7 +385,8 @@ const LibraryView = () => {
queryFn: () => fetchLibItems(id),
enabled: currentLib.isSuccess,
networkMode: "always",
keepPreviousData: true,
keepPreviousData: false,
cacheTime: 0,
});
const handleCurrentViewType = (e) => {
@@ -1025,8 +1025,8 @@ const LibraryView = () => {
{items.data.Items.map((item, index) => {
return (
<TableRow
component={motion.row}
key={index}
component={motion.div}
key={item.Id}
sx={{
"& td,& th": {
borderBottom: