diff --git a/src/app/(main)/links/LinkEditButton.tsx b/src/app/(main)/links/LinkEditButton.tsx index 8969ad1bd..44598a5db 100644 --- a/src/app/(main)/links/LinkEditButton.tsx +++ b/src/app/(main)/links/LinkEditButton.tsx @@ -1,3 +1,4 @@ +import { Icon } from '@umami/react-zen'; import { LinkButton } from '@/components/common/LinkButton'; import { useNavigation } from '@/components/hooks'; import { useMessages } from '@/components/hooks'; @@ -8,8 +9,15 @@ export function LinkEditButton({ linkId }: { linkId: string }) { const { renderUrl } = useNavigation(); return ( - - + + + + ); } diff --git a/src/app/(main)/links/LinkEditForm.tsx b/src/app/(main)/links/LinkEditForm.tsx index 4f8dcf7ae..8b8f476be 100644 --- a/src/app/(main)/links/LinkEditForm.tsx +++ b/src/app/(main)/links/LinkEditForm.tsx @@ -41,6 +41,7 @@ export function LinkEditForm({ }, ); const config = useConfig(); + const cloudMode = config?.cloudMode; const linksUrl = config?.linksUrl; const hostUrl = linksUrl || LINKS_URL; const { data, isLoading } = useLinkQuery(linkId); @@ -92,25 +93,37 @@ export function LinkEditForm({ - + {cloudMode ? ( - + - - + ) : ( + + + + + + + )} diff --git a/src/app/(main)/pixels/PixelEditButton.tsx b/src/app/(main)/pixels/PixelEditButton.tsx index 878387dc3..8a8f141d6 100644 --- a/src/app/(main)/pixels/PixelEditButton.tsx +++ b/src/app/(main)/pixels/PixelEditButton.tsx @@ -1,3 +1,4 @@ +import { Icon } from '@umami/react-zen'; import { LinkButton } from '@/components/common/LinkButton'; import { useNavigation } from '@/components/hooks'; import { useMessages } from '@/components/hooks'; @@ -8,8 +9,15 @@ export function PixelEditButton({ pixelId }: { pixelId: string }) { const { renderUrl } = useNavigation(); return ( - - + + + + ); }