In storybook version 6.x storybook remove toId from storybook/router to storybook/csf so any consumer using a newer version of storybook the method setCurrentStory would break because it was using toId from storybook/router
This PR copies over storybooks method for toID so that it's not compatible with older versions of storybook and 6.x
In storybook version 6.x storybook remove
toId
fromstorybook/router
tostorybook/csf
so any consumer using a newer version of storybook the methodsetCurrentStory
would break because it was usingtoId
fromstorybook/router
This PR copies over storybooks method for toID so that it's not compatible with older versions of storybook and 6.x