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}

View File

@@ -365,11 +365,6 @@ msgstr ""
msgid "Create a Watchlist"
msgstr ""
#: assets/components/tracking/watchlist/CreateWatchlistButton.tsx:45
#: assets/components/tracking/watchlist/UpdateWatchlistButton.tsx:56
msgid "Cancel"
msgstr ""
#: assets/components/tracking/watchlist/DeleteWatchlistButton.tsx:13
#: assets/components/tracking/watchlist/DeleteWatchlistButton.tsx:21
msgid "Delete the Watchlist"
@@ -480,6 +475,10 @@ msgstr ""
msgid "Update a Watchlist"
msgstr ""
#: assets/components/tracking/watchlist/UpdateWatchlistButton.tsx:56
msgid "Cancel"
msgstr ""
#: assets/components/tracking/watchlist/WatchlistCard.tsx:54
msgid "This Watchlist is not linked to a Connector."
msgstr ""