Skip to content

Commit f3262e7

Browse files
committed
feat: direct redirect on btn click
1 parent 46d1182 commit f3262e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/features/editor/Toolbar/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,12 @@ export const Toolbar = ({ isWidget = false }: ToolbarProps) => {
8686
<Group gap="6" justify="right" w="100%" style={{ flexWrap: "nowrap" }}>
8787
{!isWidget && (
8888
<Button
89+
component="a"
90+
href="https://todiagram.com/editor?utm_source=jsoncrack&utm_medium=toolbar"
8991
color="green"
9092
size="compact-sm"
9193
fz="12"
9294
fw="600"
93-
onClick={() => setVisible("UpgradeModal", true)}
9495
leftSection={<LuCrown />}
9596
mr="6"
9697
>

0 commit comments

Comments
 (0)