|
@@ -259,6 +259,8 @@ export const VideoView: FC = () => {
|
|
setShareDialogOpen(true)
|
|
setShareDialogOpen(true)
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ const isNft = !!nftWidgetProps
|
|
|
|
+
|
|
const handleAddVideoView = useCallback(() => {
|
|
const handleAddVideoView = useCallback(() => {
|
|
if (!videoId || !channelId) {
|
|
if (!videoId || !channelId) {
|
|
return
|
|
return
|
|
@@ -276,9 +278,9 @@ export const VideoView: FC = () => {
|
|
channelId ?? 'no data',
|
|
channelId ?? 'no data',
|
|
channelName ?? 'no data',
|
|
channelName ?? 'no data',
|
|
videoDescription ?? 'no data',
|
|
videoDescription ?? 'no data',
|
|
- !!nftWidgetProps
|
|
|
|
|
|
+ isNft
|
|
)
|
|
)
|
|
- }, [addVideoView, channelId, videoId, channelName, videoDescription, nftWidgetProps, trackVideoView])
|
|
|
|
|
|
+ }, [videoId, channelId, addVideoView, trackVideoView, channelName, videoDescription, isNft])
|
|
|
|
|
|
if (error) {
|
|
if (error) {
|
|
return <ViewErrorFallback />
|
|
return <ViewErrorFallback />
|