Skip to content

Commit 8c9d958

Browse files
committed
chore: fix dynamic example
1 parent 2812679 commit 8c9d958

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

examples/dynamic/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ function GridVirtualizerDynamic({ rows, columns }) {
164164
<button onClick={() => rowVirtualizer.scrollToIndex(halfWay)}>
165165
Scroll to index {halfWay}
166166
</button>
167-
<button onClick={() => rowVirtualizer.scrollToIndex(rows.length)}>
167+
<button onClick={() => rowVirtualizer.scrollToIndex(rows.length - 1)}>
168168
Scroll to index {rows.length - 1}
169169
</button>
170170
{show ? (

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,5 @@
8585
"rollup-plugin-size": "^0.2.2",
8686
"rollup-plugin-terser": "^5.2.0",
8787
"rollup-plugin-visualizer": "^4.0.4"
88-
},
89-
"release": {}
88+
}
9089
}

0 commit comments

Comments
 (0)