Skip to content

Commit 08af67c

Browse files
committed
fix: unique selector
1 parent b73b05e commit 08af67c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/renderer/modules/components/ButtonItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export type ButtonType = React.FC<React.PropsWithChildren<ButtonProps>> & {
6060
Sizes: Record<"NONE" | "TINY" | "SMALL" | "MEDIUM" | "LARGE" | "MIN" | "MAX" | "ICON", string>;
6161
};
6262

63-
export const Button = getFunctionBySource<ButtonType>(components, "button")!;
63+
export const Button = getFunctionBySource<ButtonType>(components, "Type.PULSING_ELLIPSIS")!;
6464

6565
const classes =
6666
await waitForProps<Record<"dividerDefault" | "labelRow" | "note" | "title", string>>(

src/renderer/modules/components/CheckboxItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export type CheckboxType = React.ComponentClass<React.PropsWithChildren<Checkbox
3131

3232
export type CheckboxItemType = React.FC<React.PropsWithChildren<CheckboxProps>>;
3333

34-
export const Checkbox = getFunctionBySource<CheckboxType>(components, "checkbox")!;
34+
export const Checkbox = getFunctionBySource<CheckboxType>(components, 'type:"checkbox"')!;
3535

3636
export const CheckboxItem = (props: React.PropsWithChildren<CheckboxProps>): React.ReactElement => {
3737
return (

0 commit comments

Comments
 (0)