From ac9e92c356138e8b05486ee57a377903cd3309d4 Mon Sep 17 00:00:00 2001 From: Sergei Maertens Date: Tue, 17 Dec 2024 09:47:47 +0100 Subject: [PATCH] :fire: Delete deprecated router decorator It doesn't seem to be used anywhere anymore. --- src/story-utils/decorators.jsx | 11 ----------- 1 file changed, 11 deletions(-) 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) {