mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
chore: remove redundant Close button
This commit is contained in:
@@ -42,7 +42,6 @@ export function CreateWatchlistButton({onUpdateWatchlist, connectors}: {
|
||||
paddingBottom: 80
|
||||
}
|
||||
}}
|
||||
extra={<Button onClick={onClose}>{t`Cancel`}</Button>}
|
||||
>
|
||||
<WatchlistForm
|
||||
form={form}
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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 ""
|
||||
|
||||
Reference in New Issue
Block a user