File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/containers/Modals/UpgradeModal Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import {
1111 AspectRatio ,
1212 Paper ,
1313 CloseButton ,
14+ FocusTrap ,
1415} from "@mantine/core" ;
1516import { 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"
You can’t perform that action at this time.
0 commit comments