chore: fix type check
This commit is contained in:
@@ -78,10 +78,12 @@ const ModalToSheet = (props: ModalProps & { index: number; id: string }) => {
|
||||
[close, id, props.index, setStack],
|
||||
)
|
||||
const modalContentRef = useRef<HTMLDivElement>(null)
|
||||
const modalElementRef = useRef<HTMLDivElement>(null)
|
||||
const ModalContextProps = useMemo<CurrentModalContentProps>(
|
||||
() => ({
|
||||
...ModalProps,
|
||||
ref: modalContentRef,
|
||||
modalElementRef,
|
||||
}),
|
||||
[ModalProps],
|
||||
)
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user