feat: direct redirect on btn click

This commit is contained in:
AykutSarac 2024-12-17 17:59:11 +03:00
parent 46d1182a5d
commit f3262e7666
No known key found for this signature in database

View File

@ -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"
>