Skip to content

Commit 89e299c

Browse files
committed
feat: upgrade modal open editor
1 parent b1c1989 commit 89e299c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/containers/Modals/UpgradeModal/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {
1111
AspectRatio,
1212
Paper,
1313
CloseButton,
14+
FocusTrap,
1415
} from "@mantine/core";
1516
import { LuCrown, LuTrendingUp } from "react-icons/lu";
1617

@@ -27,6 +28,7 @@ export const UpgradeModal = ({ opened, onClose }: ModalProps) => {
2728
styles={{ body: { padding: 0 } }}
2829
overlayProps={{ blur: 1 }}
2930
>
31+
<FocusTrap.InitialFocus />
3032
<Stack gap="24" px="40" py="20">
3133
<Flex justify="space-between">
3234
<Title c="bright" fw="500" fz="24">
@@ -91,7 +93,7 @@ export const UpgradeModal = ({ opened, onClose }: ModalProps) => {
9193
</Paper>
9294
<Button
9395
component="a"
94-
href="https://todiagram.com/sign-up?utm_source=jsoncrack&utm_medium=upgrade_modal"
96+
href="https://todiagram.com/editor?utm_source=jsoncrack&utm_medium=upgrade_modal"
9597
target="_blank"
9698
mb="-16"
9799
color="green"

0 commit comments

Comments
 (0)