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

Commit f36f185

Browse files
committed
fix: prevent circular import
When using yarn workspaces, the prop-types import in the file of the same name would cause a circular import.
1 parent 84b08f1 commit f36f185

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import * as Types from './types';
1717
import * as lightBase from './themes/light';
1818

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

2121
// HACK: Copy the theme, otherwise, it gets exported as 'module'.
2222
const light: Types.Theme = { ...lightBase };

0 commit comments

Comments
 (0)