Browse Source

Fix "go" button type

master
jeffvli 3 years ago
committed by Jeff
parent
commit
ccfef1bc7f
  1. 5
      src/components/shared/ContextMenu.tsx

5
src/components/shared/ContextMenu.tsx

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

Loading…
Cancel
Save