diff --git a/apps/frontend/src/components/Card/SvgInline.tsx b/apps/frontend/src/components/Card/SvgInline.tsx index bed2cc0e..7c85a010 100644 --- a/apps/frontend/src/components/Card/SvgInline.tsx +++ b/apps/frontend/src/components/Card/SvgInline.tsx @@ -110,16 +110,26 @@ export function SvgInline(props: SvgInlineProps): JSX.Element { if (forceLoading || !loaded) { if (compact) { - return ; + return ( + + ); } // maximum dimensions of cards in SelectCard stage return (
- +
); } // Render a container div for the shadow DOM - return
; + // Using a different key than the skeletons above to ensure react doesn't reuse the node, which would keep its old shadow DOM content visible. + return ( +
+ ); }