Skip to content

Commit

Permalink
fix: unique selector
Browse files Browse the repository at this point in the history
  • Loading branch information
yofukashino committed Jan 29, 2025
1 parent b73b05e commit 08af67c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/renderer/modules/components/ButtonItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export type ButtonType = React.FC<React.PropsWithChildren<ButtonProps>> & {
Sizes: Record<"NONE" | "TINY" | "SMALL" | "MEDIUM" | "LARGE" | "MIN" | "MAX" | "ICON", string>;
};

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

const classes =
await waitForProps<Record<"dividerDefault" | "labelRow" | "note" | "title", string>>(
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/modules/components/CheckboxItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export type CheckboxType = React.ComponentClass<React.PropsWithChildren<Checkbox

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

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

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

0 comments on commit 08af67c

Please sign in to comment.