Browse Source

Fix for layout messup on resize / collection switch.

Pushkar Anand 4 năm trước cách đây
mục cha
commit
cfbb32702c
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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}>