mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
build(deps): bump dependencies (#2427)
* build(deps): bump dependencies * build(deps): bump next to 12.0.8 * build(deps): bump swr to 1.1.2 * build(deps): bump more dependencies * build(deps): bump husky to 7.0.4 * fix: remove user list button outlines * build(deps): bump dependencies again * build(deps): bump dependencies once more
This commit is contained in:
@@ -83,12 +83,13 @@ const TvDetails: React.FC<TvDetailsProps> = ({ tv }) => {
|
||||
const [showManager, setShowManager] = useState(false);
|
||||
const [showIssueModal, setShowIssueModal] = useState(false);
|
||||
|
||||
const { data, error, revalidate } = useSWR<TvDetailsType>(
|
||||
`/api/v1/tv/${router.query.tvId}`,
|
||||
{
|
||||
initialData: tv,
|
||||
}
|
||||
);
|
||||
const {
|
||||
data,
|
||||
error,
|
||||
mutate: revalidate,
|
||||
} = useSWR<TvDetailsType>(`/api/v1/tv/${router.query.tvId}`, {
|
||||
fallbackData: tv,
|
||||
});
|
||||
|
||||
const { data: ratingData } = useSWR<RTRating>(
|
||||
`/api/v1/tv/${router.query.tvId}/ratings`
|
||||
|
Reference in New Issue
Block a user