Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
zoriya committed Dec 15, 2023
1 parent e176664 commit dd62f8f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
3 changes: 2 additions & 1 deletion front/packages/primitives/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
4 changes: 3 additions & 1 deletion front/packages/ui/src/details/episode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion front/packages/ui/src/home/news.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)}`
Expand Down
3 changes: 3 additions & 0 deletions front/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit dd62f8f

Please sign in to comment.