You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The screenshot contains onClick action invoked with different arguments:
Single argument actions containing "falsy" values have different log format than other
To Reproduce
// demo.stories.tsximport{action}from'@storybook/addon-actions'import{useCallback}from'@storybook/client-api'import{StoryFn}from'@storybook/react'exportdefault{component: ()=>null,}exportconstDemo: StoryFn=()=>{construnTestActions=useCallback(()=>{constonClickAction=action('onClick')onClickAction(3)onClickAction(2)onClickAction(1)onClickAction(0)onClickAction(true)onClickAction(false)onClickAction(null)onClickAction(undefined)onClickAction(undefined,undefined)onClickAction(undefined,undefined,undefined)},[])return<buttononClick={runTestActions}>Run test (result in addon-actions tab)</button>}
Describe the bug
The screenshot contains onClick action invoked with different arguments:
Single argument actions containing "falsy" values have different log format than other
To Reproduce
System
Additional context
No response
The text was updated successfully, but these errors were encountered: