diff --git a/apps/desktop/layer/renderer/src/components/ui/modal/stacked/modal-stack.mobile.tsx b/apps/desktop/layer/renderer/src/components/ui/modal/stacked/modal-stack.mobile.tsx index f5edc948c..a62ee46a2 100644 --- a/apps/desktop/layer/renderer/src/components/ui/modal/stacked/modal-stack.mobile.tsx +++ b/apps/desktop/layer/renderer/src/components/ui/modal/stacked/modal-stack.mobile.tsx @@ -78,10 +78,12 @@ const ModalToSheet = (props: ModalProps & { index: number; id: string }) => { [close, id, props.index, setStack], ) const modalContentRef = useRef(null) + const modalElementRef = useRef(null) const ModalContextProps = useMemo( () => ({ ...ModalProps, ref: modalContentRef, + modalElementRef, }), [ModalProps], ) diff --git a/packages/internal/components/src/ui/icon/SiteIcon.tsx b/packages/internal/components/src/ui/icon/SiteIcon.tsx index 09175e12d..ff2bb0668 100644 --- a/packages/internal/components/src/ui/icon/SiteIcon.tsx +++ b/packages/internal/components/src/ui/icon/SiteIcon.tsx @@ -1,8 +1,8 @@ -import { getFeedIconSrc } from "@follow/components/utils/icon" import { cn } from "@follow/utils/utils" import { m, useAnimationControls } from "motion/react" import { useRef } from "react" +import { getFeedIconSrc } from "../../utils/icon" import { PlatformIcon } from "../platform-icon" interface SiteIconProps {