mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-27 15:22:56 +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" }}>
|
||||
{!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"
|
||||
>
|
||||
|
Loading…
x
Reference in New Issue
Block a user