mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-15 05:02:24 +08:00
remove unused ts-expect-error
This commit is contained in:
parent
cb2e6e9e1a
commit
08e3dcb80b
@ -24,7 +24,6 @@ function Component() {
|
|||||||
name: 'Prefetch',
|
name: 'Prefetch',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// @ts-expect-error (old-api)
|
|
||||||
cb: () => router.push('/push-html', { forceOptimisticNavigation: true }),
|
cb: () => router.push('/push-html', { forceOptimisticNavigation: true }),
|
||||||
name: 'Push HTML',
|
name: 'Push HTML',
|
||||||
},
|
},
|
||||||
@ -33,7 +32,6 @@ function Component() {
|
|||||||
name: 'Refresh',
|
name: 'Refresh',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// @ts-expect-error (old-api)
|
|
||||||
cb: () => router.replace('/replaced-html', { forceOptimisticNavigation: true }),
|
cb: () => router.replace('/replaced-html', { forceOptimisticNavigation: true }),
|
||||||
name: 'Replace',
|
name: 'Replace',
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user