Fix "go" button type

This commit is contained in:
jeffvli
2021-11-05 08:32:14 -07:00
committed by Jeff
parent 04fa89c0f0
commit ccfef1bc7f

View File

@@ -56,6 +56,7 @@ import {
StyledInputPickerContainer,
ContextMenuPopover,
StyledInput,
StyledInputGroupButton,
} from './styled';
import { notifyToast } from './toast';
import {
@@ -662,7 +663,7 @@ export const GlobalContextMenu = () => {
value={indexToMoveTo}
onChange={(e: number) => setIndexToMoveTo(e)}
/>
<StyledButton
<StyledInputGroupButton
type="submit"
onClick={handleMoveSelectedToIndex}
disabled={
@@ -672,7 +673,7 @@ export const GlobalContextMenu = () => {
}
>
Go
</StyledButton>
</StyledInputGroupButton>
</StyledInputGroup>
</Form>
</ContextMenuPopover>