diff --git a/src/story-utils/decorators.jsx b/src/story-utils/decorators.jsx index 418692e59..5455bea81 100644 --- a/src/story-utils/decorators.jsx +++ b/src/story-utils/decorators.jsx @@ -56,17 +56,6 @@ const RouterStoryWrapper = ({route = '', children}) => { ); }; -export const DeprecatedRouterDecorator = (Story, {args: {routerArgs = {}}}) => { - const {route, ...rest} = routerArgs; - return ( - - - - - - ); -}; - export const FormikDecorator = (Story, context) => { const isDisabled = context.parameters?.formik?.disable ?? false; if (isDisabled) {