diff options
Diffstat (limited to 'gui/src/renderer/components/cell')
| -rw-r--r-- | gui/src/renderer/components/cell/Input.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/src/renderer/components/cell/Input.tsx b/gui/src/renderer/components/cell/Input.tsx index 1dd240b3ce..c57d552866 100644 --- a/gui/src/renderer/components/cell/Input.tsx +++ b/gui/src/renderer/components/cell/Input.tsx @@ -8,10 +8,10 @@ import ImageView from '../ImageView'; export const Switch = React.forwardRef(function SwitchT( props: StandaloneSwitch['props'], - ref: React.Ref<HTMLDivElement>, + ref: React.Ref<StandaloneSwitch>, ) { const disabled = useContext(CellDisabledContext); - return <StandaloneSwitch forwardedRef={ref} disabled={disabled} {...props} />; + return <StandaloneSwitch ref={ref} disabled={disabled} {...props} />; }); export const InputFrame = styled.div({ |
