diff --git a/front/packages/ui/src/player/components/hover.tsx b/front/packages/ui/src/player/components/hover.tsx index 502fb986..ce7c75a9 100644 --- a/front/packages/ui/src/player/components/hover.tsx +++ b/front/packages/ui/src/player/components/hover.tsx @@ -25,7 +25,6 @@ import { H1, H2, IconButton, - Link, Poster, PressableFeedback, Skeleton, @@ -35,15 +34,7 @@ import { } from "@kyoo/primitives"; import { Chapter, KyooImage, Subtitle, Audio } from "@kyoo/models"; import { useAtomValue, useSetAtom, useAtom } from "jotai"; -import { - ImageStyle, - Platform, - Pressable, - View, - ViewProps, - PointerEvent as NativePointerEvent, - GestureResponderEvent, -} from "react-native"; +import { ImageStyle, Platform, Pressable, View, ViewProps } from "react-native"; import { useTranslation } from "react-i18next"; import { percent, rem, useYoshiki } from "yoshiki/native"; import { useRouter } from "solito/router"; @@ -127,7 +118,6 @@ export const Hover = ({ { export const Back = ({ isLoading, name, - href, ...props -}: { isLoading: boolean; name?: string; href?: string } & ViewProps) => { +}: { isLoading: boolean; name?: string } & ViewProps) => { const { css } = useYoshiki(); const { t } = useTranslation(); const router = useRouter(); @@ -363,9 +352,8 @@ export const Back = ({ >