From dd62f8f8aca9867c688e735789f36920e8736108 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Fri, 15 Dec 2023 02:09:48 +0100 Subject: [PATCH] Fix types --- front/packages/primitives/package.json | 3 ++- front/packages/ui/src/details/episode.tsx | 4 +++- front/packages/ui/src/home/news.tsx | 2 +- front/yarn.lock | 3 +++ 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/front/packages/primitives/package.json b/front/packages/primitives/package.json index de70aa63..fdd5fef2 100644 --- a/front/packages/primitives/package.json +++ b/front/packages/primitives/package.json @@ -56,6 +56,7 @@ "optionalDependencies": { "blurhash": "^2.0.5", "react-native-blurhash": "^1.1.11", - "react-native-fast-image": "^8.6.3" + "react-native-fast-image": "^8.6.3", + "react-native-safe-area-context": "4.6.3" } } diff --git a/front/packages/ui/src/details/episode.tsx b/front/packages/ui/src/details/episode.tsx index 0c4005b1..5f0bc35a 100644 --- a/front/packages/ui/src/details/episode.tsx +++ b/front/packages/ui/src/details/episode.tsx @@ -210,7 +210,9 @@ export const EpisodeLine = ({ watchedPercent: number | null; watchedStatus: WatchStatusV | null; href: string; -}>) => { +}> & + PressableProps & + Stylable) => { const [moreOpened, setMoreOpened] = useState(false); const { css } = useYoshiki("episode-line"); const { t } = useTranslation(); diff --git a/front/packages/ui/src/home/news.tsx b/front/packages/ui/src/home/news.tsx index 0e1e213a..a7a6bb98 100644 --- a/front/packages/ui/src/home/news.tsx +++ b/front/packages/ui/src/home/news.tsx @@ -58,7 +58,7 @@ export const NewsList = () => {