diff --git a/spa/src/components/wrapup-share-card.tsx b/spa/src/components/wrapup-share-card.tsx index 70a69f9..47bfcca 100644 --- a/spa/src/components/wrapup-share-card.tsx +++ b/spa/src/components/wrapup-share-card.tsx @@ -1,4 +1,5 @@ import { useEffect, useRef, useState } from "react" +import { createPortal } from "react-dom" import { useTranslation } from "react-i18next" import { Download, Share2, X } from "lucide-react" import html2canvas from "html2canvas-pro" @@ -59,7 +60,7 @@ export function WrapUpShareCard({ report, onClose }: Props) { } } - return ( + return createPortal(