chore: remove redundant Close button

This commit is contained in:
Maël Gangloff
2025-10-30 21:11:33 +01:00
parent d7e78a9808
commit cf1d524225
3 changed files with 5 additions and 8 deletions

View File

@@ -42,7 +42,6 @@ export function CreateWatchlistButton({onUpdateWatchlist, connectors}: {
paddingBottom: 80
}
}}
extra={<Button onClick={onClose}>{t`Cancel`}</Button>}
>
<WatchlistForm
form={form}

View File

@@ -1,4 +1,4 @@
import {Button, Drawer, Form, Typography} from 'antd'
import {Drawer, Form, Typography} from 'antd'
import {t} from 'ttag'
import {WatchlistForm} from './WatchlistForm'
import React, {useState} from 'react'
@@ -53,7 +53,6 @@ export function UpdateWatchlistButton({watchlist, onUpdateWatchlist, connectors}
paddingBottom: 80
}
}}
extra={<Button onClick={onClose}>{t`Cancel`}</Button>}
>
<WatchlistForm
form={form}