TagSpaces is an offline, open source, document manager with tagging support
chore: fix typescript and react key issues
Ilian Sapundshieva515657d7d0e
diff --git a/app/components/FolderContainer.tsx b/app/components/FolderContainer.tsxindex d8d42ef3f..498ccdf8f 100644--- a/app/components/FolderContainer.tsx+++ b/app/components/FolderContainer.tsx@@ -516,6 +516,7 @@ function FolderContainer(props: Props) {<ToggleButtonvalue={perspective.id}aria-label={perspective.id}+ key={perspective.id}data-tid={perspective.key}onClick={() => switchPerspective(perspective.id)}>diff --git a/app/perspectives/grid-perspective/components/GridPagination.tsx b/app/perspectives/grid-perspective/components/GridPagination.tsxindex 2a9ac2188..9513759eb 100644--- a/app/perspectives/grid-perspective/components/GridPagination.tsx+++ b/app/perspectives/grid-perspective/components/GridPagination.tsx@@ -45,7 +45,7 @@ import PlatformIO from '-/services/platform-facade';interface Props {isMetaLoaded: boolean;setIsMetaLoaded: (isLoaded: boolean) => void;- className: string;+ className?: string;style;theme: any;// gridRef: Object;