Skip to content

Commit

Permalink
Remove circular dependencies
Browse files Browse the repository at this point in the history
It still works but seems to make the build slow so removing.

See #81
  • Loading branch information
stuarthendren committed May 25, 2021
1 parent 5e027df commit 5c88811
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/components/Alert/Alert.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import type * as Polymorphic from '@radix-ui/react-polymorphic'
import React, { FC, forwardRef } from 'react'
import { CSS, StitchesVariants, styled } from 'stitches.config'
import { Heading, Text } from '../'
import { Heading } from '../Heading'
import { Text } from '../Text'

const DEFAULT_TAG = 'div'

Expand Down
3 changes: 2 additions & 1 deletion src/components/List/ListItemText.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react'
import { styled } from 'stitches.config'
import { Box, Text } from '..'
import { Box } from '../Box'
import { Text } from '../Text'

/**
* ListItemText component
Expand Down
1 change: 1 addition & 0 deletions src/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ export * from './Svg'
export * from './Text'
export * from './ThemeProvider'
export * from './Tooltip'
export * from './Spinner'

0 comments on commit 5c88811

Please sign in to comment.