Explorar o código

Fix for layout messup on resize / collection switch.

Pushkar Anand %!s(int64=4) %!d(string=hai) anos
pai
achega
cfbb32702c
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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}>