mirror of
https://github.com/harness/drone.git
synced 2025-05-11 14:40:05 +08:00
fix: [code-2061]: fix save btn (#2156)
This commit is contained in:
parent
f836cbec89
commit
ceb86704be
@ -118,11 +118,7 @@ const useNewSshKey = ({ onClose }: { onClose: () => void }) => {
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<Layout.Horizontal margin={{ top: 'xxxlarge' }} spacing="medium">
|
<Layout.Horizontal margin={{ top: 'xxxlarge' }} spacing="medium">
|
||||||
<Button
|
<Button text={getString('save')} type="submit" variation={ButtonVariation.PRIMARY} />
|
||||||
text={getString('newToken.generateToken')}
|
|
||||||
type="submit"
|
|
||||||
variation={ButtonVariation.PRIMARY}
|
|
||||||
/>
|
|
||||||
<Button text={getString('cancel')} onClick={hideSshKeyModal} variation={ButtonVariation.TERTIARY} />
|
<Button text={getString('cancel')} onClick={hideSshKeyModal} variation={ButtonVariation.TERTIARY} />
|
||||||
</Layout.Horizontal>
|
</Layout.Horizontal>
|
||||||
</FormikForm>
|
</FormikForm>
|
||||||
|
Loading…
Reference in New Issue
Block a user