Skip to content

Commit

Permalink
refactor(components): remove global style from stories (#15582)
Browse files Browse the repository at this point in the history
* refactor(components): remove global style from stories
  • Loading branch information
koji committed Jul 5, 2024
1 parent 3d30eec commit bfd1f9e
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import * as React from 'react'
import { customViewports } from '../../../../.storybook/preview'
import { Flex } from '../../primitives'
import { SPACING } from '../../ui-style-constants'
import { GlobalStyle } from '../../../../app/src/atoms/GlobalStyle'
import { customViewports } from '../../../../.storybook/preview'
import { ICON_DATA_BY_NAME } from '../../icons'
import { LocationIcon } from '.'

import type { Meta, StoryObj } from '@storybook/react'

const slots = [
Expand Down Expand Up @@ -52,7 +52,6 @@ const meta: Meta<typeof LocationIcon> = {
decorators: [
Story => (
<Flex padding={SPACING.spacing16} width="15rem" height="5rem">
<GlobalStyle />
<Story />
</Flex>
),
Expand Down

0 comments on commit bfd1f9e

Please sign in to comment.