浏览代码

Fix for layout messup on resize / collection switch.

Pushkar Anand 4 年之前
父节点
当前提交
cfbb32702c
共有 1 个文件被更改,包括 1 次插入0 次删除
  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}>