From 22cc7b367c3c8b19a27499c390271f656def1d1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Tue, 11 Jun 2024 13:38:38 -0500 Subject: [PATCH] fix: style --- src/components/Ad.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Ad.tsx b/src/components/Ad.tsx index eee774d05..f8e05abc7 100644 --- a/src/components/Ad.tsx +++ b/src/components/Ad.tsx @@ -25,7 +25,7 @@ type AdProps = BoxProps & { type: AdType; }; -export function Ad({ type, ...props }: AdProps) { +export function Ad({ type, style, ...props }: AdProps) { const id = useRef(uniqueId()); const dimensions = AD_DIMENSIONS[type]; const developerMode = useApp((state) => state.developerMode); @@ -48,6 +48,7 @@ export function Ad({ type, ...props }: AdProps) { outline: '1px solid var(--gray-3)', borderRadius: 'var(--radius-1)', background: `url(${imgur('DK21EHY')})`, + ...style, }} {...props} >