Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fix theme change

sytolk05eae8fc64e4
diff --git a/app/perspectives/grid-perspective/components/GridPagination.tsx b/app/perspectives/grid-perspective/components/GridPagination.tsx
index 047a9353b..80c36b24a 100644
--- a/app/perspectives/grid-perspective/components/GridPagination.tsx
+++ b/app/perspectives/grid-perspective/components/GridPagination.tsx
@@ -401,6 +401,7 @@ function mapActionCreatorsToProps(dispatch) {
}
const areEqual = (prevProp: Props, nextProp: Props) =>
+ nextProp.theme === prevProp.theme &&
nextProp.isMetaLoaded === prevProp.isMetaLoaded &&
nextProp.showDirectories === prevProp.showDirectories &&
nextProp.showTags === prevProp.showTags &&