Browse Source

Fix for layout messup on resize / collection switch.

Pushkar Anand 4 years ago
parent
commit
cfbb32702c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/pages/gallery/index.tsx

+ 1 - 0
src/pages/gallery/index.tsx

@@ -318,6 +318,7 @@ export default function Gallery() {
                                     height={height}
                                     width={width}
                                     itemCount={timeStampList.length}
+                                    key={`${router.query.collection}-${columns}`}
                                 >
                                     {({ index, style }) => {
                                         return (<ListItem style={style}>