Skip to content

Commit fc93338

Browse files
authored
refactor: remove unused tooltip option (#1755)
Signed-off-by: Adam Setch <[email protected]>
1 parent 3cd267a commit fc93338

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/renderer/components/fields/RadioGroup.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
import type { ChangeEvent, FC, ReactNode } from 'react';
1+
import type { ChangeEvent, FC } from 'react';
22
import type { RadioGroupItem } from '../../types';
33
import { cn } from '../../utils/cn';
4-
import { Tooltip } from './Tooltip';
54

65
export interface IRadioGroup {
76
name: string;
87
label: string;
9-
tooltip?: ReactNode | string;
108
options: RadioGroupItem[];
119
value: string;
1210
disabled?: boolean;
@@ -27,9 +25,6 @@ export const RadioGroup: FC<IRadioGroup> = (props: IRadioGroup) => {
2725
}
2826
>
2927
{props.label}
30-
{props.tooltip && (
31-
<Tooltip name={`tooltip-${props.name}`} tooltip={props.tooltip} />
32-
)}
3328
</label>
3429
</div>
3530

0 commit comments

Comments
 (0)