Skip to content

Commit cf51d15

Browse files
committed
Reduce the buttons
1 parent 65a197b commit cf51d15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react/src/Dialog/Dialog.features.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export const StressTest = ({width, height, subtitle}: DialogStoryProps) => {
123123
const onDialogClose = useCallback(() => setIsOpen(false), [])
124124
const onSecondDialogClose = useCallback(() => setSecondOpen(false), [])
125125
const openSecondDialog = useCallback(() => setSecondOpen(true), [])
126-
const manyButtons = new Array(10).fill(undefined).map((_, i) => ({content: `Button ${i}`}))
126+
const manyButtons = new Array(3).fill(undefined).map((_, i) => ({content: `Button ${i}`}))
127127
return (
128128
<>
129129
<Button ref={buttonRef} onClick={() => setIsOpen(!isOpen)}>

0 commit comments

Comments
 (0)