replace use of deprecated IRef

This commit is contained in:
David Lechner
2022-09-01 11:45:59 -05:00
parent d8453afa25
commit b4e1c8293d
3 changed files with 5 additions and 13 deletions
@@ -11,7 +11,6 @@ import {
ControlGroup,
DialogStep,
FormGroup,
IRef,
Icon,
InputGroup,
Intent,
@@ -129,7 +128,7 @@ const SelectHubPanel: React.VoidFunctionComponent = () => {
}
renderTarget={({ isOpen: _isOpen, ref, ...targetProps }) => (
<Button
elementRef={ref as IRef<HTMLButtonElement>}
elementRef={ref as React.Ref<HTMLButtonElement>}
{...targetProps}
>
{i18n.translate('selectHubPanel.notOnListButton.label')}