chore: translate Close button

This commit is contained in:
Maël Gangloff
2024-08-15 17:40:09 +02:00
parent 34c7c9cdb4
commit fb43f6bdb0
2 changed files with 7 additions and 3 deletions

View File

@@ -39,12 +39,12 @@ export function WatchlistsList({watchlists, onDelete, onUpdateWatchlist, connect
const showDrawer = () => {
setOpen(true)
};
}
const onClose = () => {
setOpen(false)
setLoading(false)
};
}
return <>
{watchlists.map(watchlist =>
@@ -93,7 +93,7 @@ export function WatchlistsList({watchlists, onDelete, onUpdateWatchlist, connect
paddingBottom: 80,
}
}}
extra={<Button onClick={onClose}>Cancel</Button>}
extra={<Button onClick={onClose}>{t`Cancel`}</Button>}
>
<WatchlistForm
form={form}