Skip to content

Commit

Permalink
chore: fix storybook import errors
Browse files Browse the repository at this point in the history
  • Loading branch information
castastrophe committed Jan 21, 2025
1 parent 8d65de0 commit 6eaca0b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions .storybook/decorators/context.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ export const withContextWrapper = makeDecorator({
useEffect(() => {
const isDocs = viewMode === "docs";
const isTesting = showTestingGrid;
const isRaw = Boolean(context === "raw");

// Start by attaching the appropriate tokens to the container
toggleStyles(document.body, "tokens", tokens, true);
Expand Down Expand Up @@ -104,7 +103,7 @@ export const withContextWrapper = makeDecorator({
}
}

}, [context, viewMode, original, staticColor, color, scale, rootClass, tokens, staticColorSettings, showTestingGrid]);
}, [viewMode, original, staticColor, color, scale, rootClass, tokens, staticColorSettings, showTestingGrid]);

return StoryFn(data);
},
Expand Down
1 change: 0 additions & 1 deletion components/badge/stories/badge.stories.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { Sizes } from "@spectrum-css/preview/decorators/utilities.js";
import { default as IconStories } from "@spectrum-css/icon/stories/icon.stories.js";
import { ArgGrid } from "@spectrum-css/preview/decorators";
import { Sizes } from "@spectrum-css/preview/decorators/utilities.js";
Expand Down

0 comments on commit 6eaca0b

Please sign in to comment.