Skip to content

Commit 2d11e39

Browse files
committed
refactor: temporarily disable 'E-mail Notifications' panel in settings
1 parent 1b1a8d6 commit 2d11e39

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/shared/SystemTray/EmailNotifications.jsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ const CheckAllState = {
2626

2727
export default function EmailNotificationsWrapper() {
2828
const { chainId } = useWeb3();
29-
29+
const IS_UNDER_MAINTENANCE = true;
3030
return (
3131
<ContentBlocker
32-
blocked={!isUserSettingsSupported({ chainId })}
32+
blocked={!isUserSettingsSupported({ chainId }) || IS_UNDER_MAINTENANCE}
3333
overlayText={
3434
<span
3535
css={`
@@ -41,10 +41,9 @@ export default function EmailNotificationsWrapper() {
4141
border-radius: 3px;
4242
white-space: nowrap;
4343
display: inline-block;
44-
transform: rotateZ(-15deg);
4544
`}
4645
>
47-
Unavailable on {getNetworkName(chainId)}
46+
{IS_UNDER_MAINTENANCE ? '🚧 Coming soon 🚧' : `Unavailable on ${getNetworkName(chainId)}`}
4847
</span>
4948
}
5049
>

0 commit comments

Comments
 (0)