mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-02-04 01:32:54 +08:00
feat: direct redirect on btn click
This commit is contained in:
parent
46d1182a5d
commit
f3262e7666
@ -86,11 +86,12 @@ export const Toolbar = ({ isWidget = false }: ToolbarProps) => {
|
|||||||
<Group gap="6" justify="right" w="100%" style={{ flexWrap: "nowrap" }}>
|
<Group gap="6" justify="right" w="100%" style={{ flexWrap: "nowrap" }}>
|
||||||
{!isWidget && (
|
{!isWidget && (
|
||||||
<Button
|
<Button
|
||||||
|
component="a"
|
||||||
|
href="https://todiagram.com/editor?utm_source=jsoncrack&utm_medium=toolbar"
|
||||||
color="green"
|
color="green"
|
||||||
size="compact-sm"
|
size="compact-sm"
|
||||||
fz="12"
|
fz="12"
|
||||||
fw="600"
|
fw="600"
|
||||||
onClick={() => setVisible("UpgradeModal", true)}
|
|
||||||
leftSection={<LuCrown />}
|
leftSection={<LuCrown />}
|
||||||
mr="6"
|
mr="6"
|
||||||
>
|
>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user