Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/fix-ui-styledsystem-circular-import.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@clerk/ui': patch
---

Fix a circular import in the styled-system that could crash module initialization under bundler configurations with tree-shaking disabled.
2 changes: 1 addition & 1 deletion packages/ui/src/styledSystem/InternalThemeProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { ThemeProvider } from '@emotion/react';
import React from 'react';

import { useAppearance } from '../customizables';
import { useAppearance } from '../customizables/AppearanceContext';
import type { InternalTheme } from './types';

type InternalThemeProviderProps = React.PropsWithChildren<{
Expand Down
Loading