Skip to content

Commit

Permalink
Remove deprecated typing
Browse files Browse the repository at this point in the history
  • Loading branch information
sophstad committed Jul 12, 2024
1 parent 5231e49 commit 07ba2df
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/storybook-addon/src/preview/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { MockedProvider } from "@apollo/client/testing";
import { Decorator, Parameters, ReactRenderer } from "@storybook/react";
import type { ProjectAnnotations } from "@storybook/types";
import { Decorator, Parameters } from "@storybook/react";
import { createMemoryRouter, RouterProvider } from "react-router-dom";

const parameters: Parameters = {
Expand Down Expand Up @@ -48,7 +47,7 @@ const decorators: Decorator[] = [
},
];

const preview: ProjectAnnotations<ReactRenderer> = {
const preview = {
parameters,
decorators,
};
Expand Down

0 comments on commit 07ba2df

Please sign in to comment.