소스 검색

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}>