mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Fix types
This commit is contained in:
parent
e176664bb4
commit
dd62f8f8ac
@ -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"
|
||||
}
|
||||
}
|
||||
|
@ -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();
|
||||
|
@ -58,7 +58,7 @@ export const NewsList = () => {
|
||||
<EpisodeBox
|
||||
isLoading={x.isLoading as any}
|
||||
slug={x.slug}
|
||||
showSlug={x.showId}
|
||||
showSlug={x.kind === NewsKind.Episode ? x.showId : null}
|
||||
name={
|
||||
x.kind === NewsKind.Episode
|
||||
? `${x.show!.name} ${episodeDisplayNumber(x)}`
|
||||
|
@ -2886,6 +2886,7 @@ __metadata:
|
||||
blurhash: ^2.0.5
|
||||
react-native-blurhash: ^1.1.11
|
||||
react-native-fast-image: ^8.6.3
|
||||
react-native-safe-area-context: 4.6.3
|
||||
solito: ^4.1.3
|
||||
typescript: ^5.3.2
|
||||
peerDependencies:
|
||||
@ -2910,6 +2911,8 @@ __metadata:
|
||||
optional: true
|
||||
react-native-fast-image:
|
||||
optional: true
|
||||
react-native-safe-area-context:
|
||||
optional: true
|
||||
peerDependenciesMeta:
|
||||
"@gorhom/portal":
|
||||
optional: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user