From c67312bd888cba8be813536958375153d27d0569 Mon Sep 17 00:00:00 2001 From: Ben Life Date: Mon, 5 Oct 2026 10:47:36 -0400 Subject: [PATCH] fix dom nesting --- .../assets/presetImages/AppGalleryButton.tsx | 11 ++++++----- .../components/assets/presetImages/AppStoreButton.tsx | 11 ++++++----- .../assets/presetImages/GalaxyStoreButton.tsx | 11 ++++++----- .../assets/presetImages/GooglePlayButton.tsx | 11 ++++++----- 4 files changed, 24 insertions(+), 20 deletions(-) diff --git a/packages/visual-editor/src/components/assets/presetImages/AppGalleryButton.tsx b/packages/visual-editor/src/components/assets/presetImages/AppGalleryButton.tsx index 27803f51b2..96388d26ac 100644 --- a/packages/visual-editor/src/components/assets/presetImages/AppGalleryButton.tsx +++ b/packages/visual-editor/src/components/assets/presetImages/AppGalleryButton.tsx @@ -1,20 +1,21 @@ -import type { AnchorHTMLAttributes } from "react"; +import type { HTMLAttributes } from "react"; import { cn } from "../../../utils/cn.ts"; import { useTranslation } from "react-i18next"; export const AppGalleryButton = ({ size = "md", ...props -}: AnchorHTMLAttributes & { size?: "md" | "lg" }) => { +}: HTMLAttributes & { size?: "md" | "lg" }) => { const { t } = useTranslation(); return ( - @@ -123,6 +124,6 @@ export const AppGalleryButton = ({ fill="white" /> - + ); }; diff --git a/packages/visual-editor/src/components/assets/presetImages/AppStoreButton.tsx b/packages/visual-editor/src/components/assets/presetImages/AppStoreButton.tsx index 29e87982eb..85d73e5cc8 100644 --- a/packages/visual-editor/src/components/assets/presetImages/AppStoreButton.tsx +++ b/packages/visual-editor/src/components/assets/presetImages/AppStoreButton.tsx @@ -1,20 +1,21 @@ -import type { AnchorHTMLAttributes } from "react"; +import type { HTMLAttributes } from "react"; import { cn } from "../../../utils/cn.ts"; import { useTranslation } from "react-i18next"; export const AppStoreButton = ({ size = "md", ...props -}: AnchorHTMLAttributes & { size?: "md" | "lg" }) => { +}: HTMLAttributes & { size?: "md" | "lg" }) => { const { t } = useTranslation(); return ( - @@ -114,6 +115,6 @@ export const AppStoreButton = ({ fill="white" /> - + ); }; diff --git a/packages/visual-editor/src/components/assets/presetImages/GalaxyStoreButton.tsx b/packages/visual-editor/src/components/assets/presetImages/GalaxyStoreButton.tsx index 622441454c..665c12ba63 100644 --- a/packages/visual-editor/src/components/assets/presetImages/GalaxyStoreButton.tsx +++ b/packages/visual-editor/src/components/assets/presetImages/GalaxyStoreButton.tsx @@ -1,20 +1,21 @@ -import type { AnchorHTMLAttributes } from "react"; +import type { HTMLAttributes } from "react"; import { cn } from "../../../utils/cn.ts"; import { useTranslation } from "react-i18next"; export const GalaxyStoreButton = ({ size = "md", ...props -}: AnchorHTMLAttributes & { size?: "md" | "lg" }) => { +}: HTMLAttributes & { size?: "md" | "lg" }) => { const { t } = useTranslation(); return ( - @@ -149,6 +150,6 @@ export const GalaxyStoreButton = ({ - + ); }; diff --git a/packages/visual-editor/src/components/assets/presetImages/GooglePlayButton.tsx b/packages/visual-editor/src/components/assets/presetImages/GooglePlayButton.tsx index f7d0a194a1..374c94d585 100644 --- a/packages/visual-editor/src/components/assets/presetImages/GooglePlayButton.tsx +++ b/packages/visual-editor/src/components/assets/presetImages/GooglePlayButton.tsx @@ -1,20 +1,21 @@ -import type { AnchorHTMLAttributes } from "react"; +import type { HTMLAttributes } from "react"; import { cn } from "../../../utils/cn.ts"; import { useTranslation } from "react-i18next"; export const GooglePlayButton = ({ size = "md", ...props -}: AnchorHTMLAttributes & { size?: "md" | "lg" }) => { +}: HTMLAttributes & { size?: "md" | "lg" }) => { const { t } = useTranslation(); return ( - @@ -256,6 +257,6 @@ export const GooglePlayButton = ({ - + ); };