Skip to content

Commit

Permalink
fix(clerk-js): Add descriptors to spinners
Browse files Browse the repository at this point in the history
  • Loading branch information
anagstef committed Nov 28, 2023
1 parent 1a4f5ab commit 801a826
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion packages/clerk-js/src/ui.retheme/elements/Actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,10 @@ export const Action = (props: ActionProps) => {
sx={theme => ({ flex: `0 0 ${theme.sizes.$9}` })}
>
{status.isLoading ? (
<Spinner size='xs' />
<Spinner
size='xs'
elementDescriptor={descriptors.spinner}
/>
) : (
<Icon
elementDescriptor={iconElementDescriptor}
Expand Down
1 change: 0 additions & 1 deletion packages/clerk-js/src/ui.retheme/elements/UserPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ export const UserPreview = (props: UserPreviewProps) => {
>
<Text
as='span'
colorScheme='inherit'
truncate
sx={{ fontSize: 'inherit', fontWeight: 'inherit' }}
>
Expand Down

0 comments on commit 801a826

Please sign in to comment.