Skip to content

Commit

Permalink
feat: direct redirect on btn click
Browse files Browse the repository at this point in the history
  • Loading branch information
AykutSarac committed Dec 17, 2024
1 parent 46d1182 commit f3262e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/features/editor/Toolbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,12 @@ export const Toolbar = ({ isWidget = false }: ToolbarProps) => {
<Group gap="6" justify="right" w="100%" style={{ flexWrap: "nowrap" }}>
{!isWidget && (
<Button
component="a"
href="https://todiagram.com/editor?utm_source=jsoncrack&utm_medium=toolbar"
color="green"
size="compact-sm"
fz="12"
fw="600"
onClick={() => setVisible("UpgradeModal", true)}
leftSection={<LuCrown />}
mr="6"
>
Expand Down

0 comments on commit f3262e7

Please sign in to comment.