fix: always show create watchlist button

This commit is contained in:
Maël Gangloff 2025-11-02 23:40:50 +01:00
parent bc279032da
commit 8863cbcbb5
No known key found for this signature in database
GPG Key ID: 11FDC81C24A7F629

View File

@ -74,8 +74,7 @@ export default function WatchlistPage() {
return (
<Flex gap='middle' align='center' justify='center' vertical>
{contextHolder}
{(connectors != null) && (watchlists != null) && watchlists.length > 0 &&
{(connectors !== undefined) && (watchlists !== undefined) &&
<>
<CreateWatchlistButton onUpdateWatchlist={onCreateWatchlist} connectors={connectors} />
<Divider/>