diff --git a/src/back/routes/user.ts b/src/back/routes/user.ts index 4a72abb6a..bd1be7419 100644 --- a/src/back/routes/user.ts +++ b/src/back/routes/user.ts @@ -191,7 +191,7 @@ async function isValidated(req: Request) { return await UserModel.isValidated(address, new Set(accounts)) } catch (error) { const message = 'Error while fetching validation data' - ErrorService.report(message, { error }) + ErrorService.report(message, { error: `${error}` }) throw new Error(`${message}. ${error}`) } } diff --git a/src/components/Notifications/NotificationsFeed.tsx b/src/components/Notifications/NotificationsFeed.tsx index 8f0d9d59e..300577aab 100644 --- a/src/components/Notifications/NotificationsFeed.tsx +++ b/src/components/Notifications/NotificationsFeed.tsx @@ -166,7 +166,8 @@ export default function NotificationsFeed({ const filteredNotifications = userNotifications?.slice(0, notificationsPerPage) const hasNotifications = filteredNotifications && filteredNotifications.length > 0 - const showNotifications = isSubscribed && !isLoadingNotifications && hasNotifications && !isSettingsOpened + const showNotifications = + isSubscribed && !isLoadingNotifications && hasNotifications && !isSettingsOpened && !showDiscordConnect const showLoadMoreButton = filteredNotifications?.length !== userNotifications?.length const unsubscribedKey = isSubscribing ? 'subscribing' : 'unsubscribed' const isLoading =