diff --git a/web/modals/push-notif-modal.css b/web/modals/push-notif-modal.css --- a/web/modals/push-notif-modal.css +++ b/web/modals/push-notif-modal.css @@ -1,14 +1,4 @@ .container { - padding: 0 40px 32px; - border-radius: 8px; color: var(--modal-fg); -} -.text { font-size: var(--xl-font-20); - padding: 5px 0px 20px; -} -.buttonContainer { - display: flex; - justify-content: flex-end; - gap: 24px; } diff --git a/web/modals/push-notif-modal.react.js b/web/modals/push-notif-modal.react.js --- a/web/modals/push-notif-modal.react.js +++ b/web/modals/push-notif-modal.react.js @@ -28,6 +28,24 @@ await createPushSubscription(); }, [createPushSubscription, popModal]); + const primaryButton = React.useMemo( + () => ( + + ), + [onEnable], + ); + + const secondaryButton = React.useMemo( + () => ( + + ), + [popModal], + ); + return (
-

- Would you like to enable push notifications? -

-
- - -
+ Would you like to enable push notifications?
);