Commit ad8c888 1 parent d6fe955 commit ad8c888 Copy full SHA for ad8c888
File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import classNames from "@calcom/lib/classNames";
13
13
import { APP_NAME } from "@calcom/lib/constants" ;
14
14
import { useFormbricks } from "@calcom/lib/formbricks-client" ;
15
15
import { useLocale } from "@calcom/lib/hooks/useLocale" ;
16
- import { ButtonState , useNotifications } from "@calcom/lib/hooks/useNotifications" ;
16
+ import { useNotifications } from "@calcom/lib/hooks/useNotifications" ;
17
17
import { Button , ErrorBoundary , HeadSeo , SkeletonText } from "@calcom/ui" ;
18
18
19
19
import usePostHog from "../ee/event-tracking/lib/posthog/userPostHog" ;
@@ -205,7 +205,7 @@ export function ShellMain(props: LayoutProps) {
205
205
</ div >
206
206
) }
207
207
{ props . actions && props . actions }
208
- { props . heading === "Bookings" && buttonToShow && (
208
+ { /* TODO: temporary hide push notifications { props.heading === "Bookings" && buttonToShow && (
209
209
<Button
210
210
color="primary"
211
211
onClick={buttonToShow === ButtonState.ALLOW ? enableNotifications : disableNotifications}
@@ -221,7 +221,7 @@ export function ShellMain(props: LayoutProps) {
221
221
: "allow_browser_notifications"
222
222
)}
223
223
</Button>
224
- ) }
224
+ )} */ }
225
225
</ header >
226
226
) }
227
227
</ div >
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import { getPlaceholderAvatar } from "@calcom/lib/defaultAvatarImage";
12
12
import { getBookerBaseUrlSync } from "@calcom/lib/getBookerUrl/client" ;
13
13
import { useCopy } from "@calcom/lib/hooks/useCopy" ;
14
14
import { useLocale } from "@calcom/lib/hooks/useLocale" ;
15
- import { useNotifications , ButtonState } from "@calcom/lib/hooks/useNotifications" ;
15
+ import { useNotifications } from "@calcom/lib/hooks/useNotifications" ;
16
16
import {
17
17
Avatar ,
18
18
Button ,
@@ -306,7 +306,7 @@ export function ShellMain(props: LayoutProps) {
306
306
</ div >
307
307
) }
308
308
{ props . actions && props . actions }
309
- { props . heading === "Bookings" && buttonToShow && (
309
+ { /* TODO: temporary hide push notifications { props.heading === "Bookings" && buttonToShow && (
310
310
<Button
311
311
color="primary"
312
312
onClick={buttonToShow === ButtonState.ALLOW ? enableNotifications : disableNotifications}
@@ -322,7 +322,7 @@ export function ShellMain(props: LayoutProps) {
322
322
: "allow_browser_notifications"
323
323
)}
324
324
</Button>
325
- ) }
325
+ )} */ }
326
326
</ header >
327
327
) }
328
328
</ div >
You can’t perform that action at this time.
0 commit comments