Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Commit

Permalink
fix: prevent circular import
Browse files Browse the repository at this point in the history
When using yarn workspaces, the prop-types import in the file of the same name would cause a
circular import.
  • Loading branch information
connor-baer committed Mar 20, 2021
1 parent 84b08f1 commit f36f185
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import * as Types from './types';
import * as lightBase from './themes/light';

export { themePropType } from './utils/prop-types';
export { themePropType } from './utils/theme-prop-type';

// HACK: Copy the theme, otherwise, it gets exported as 'module'.
const light: Types.Theme = { ...lightBase };
Expand Down
File renamed without changes.

0 comments on commit f36f185

Please sign in to comment.