Skip to content

Commit

Permalink
Remove Strict Mode decorator from Storybook (#3439)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwooding authored May 20, 2024
1 parent 4b5b831 commit 5b9f090
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 27 deletions.
11 changes: 0 additions & 11 deletions .storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import { ComponentProps } from "react";
import { withTheme } from "docs/decorators/withTheme";
import { withResponsiveWrapper } from "docs/decorators/withResponsiveWrapper";
import { WithTextSpacingWrapper } from "docs/decorators/withTextSpacingWrapper";
import { withStrictMode } from "docs/decorators/withStrictMode";
import { withScaffold } from "docs/decorators/withScaffold";
import { withDateMock } from "docs/decorators/withDateMock";
import { SaltProvider } from "@salt-ds/core";
Expand Down Expand Up @@ -90,15 +89,6 @@ export const globalTypes: GlobalTypes = {
items: ["disable", "enable"],
},
},
strictMode: {
name: "Strict Mode",
description: "Enables React's Strict Mode",
defaultValue: "enable",
toolbar: {
items: ["disable", "enable"],
title: "Strict Mode",
},
},
scaffold: {
name: "Scaffold",
description: "Enables the testing scaffold",
Expand Down Expand Up @@ -211,7 +201,6 @@ export const decorators = [
withResponsiveWrapper,
withTheme,
WithTextSpacingWrapper,
withStrictMode,
withDateMock,
];

Expand Down
16 changes: 0 additions & 16 deletions docs/decorators/withStrictMode.tsx

This file was deleted.

0 comments on commit 5b9f090

Please sign in to comment.