mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-04 22:49:31 +00:00
use videoId for refresh dependency
This commit is contained in:
@@ -45,7 +45,6 @@ const ChannelVideo = ({ videoType }: ChannelVideoProps) => {
|
||||
const channel = channelResponse;
|
||||
const videoList = videoResponse?.data;
|
||||
const pagination = videoResponse?.paginate;
|
||||
const refreshWhenVideoIdChanges = videoId !== null;
|
||||
|
||||
const hasVideos = videoResponse?.data?.length !== 0;
|
||||
|
||||
@@ -81,7 +80,7 @@ const ChannelVideo = ({ videoType }: ChannelVideoProps) => {
|
||||
channelId,
|
||||
pagination?.current_page,
|
||||
videoType,
|
||||
refreshWhenVideoIdChanges,
|
||||
videoId,
|
||||
]);
|
||||
|
||||
if (!channel) {
|
||||
|
||||
Reference in New Issue
Block a user