Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix orion requests issue in video ending view #1028

Merged
merged 2 commits into from
Jul 22, 2021

Conversation

drillprop
Copy link
Contributor

No description provided.

@@ -52,3 +55,15 @@ export const useAddVideoView = (opts?: AddVideoViewOpts) => {
...rest,
}
}

type VideosWithBasicInformationOpts = QueryHookOptions<GetVideosWithBasicInformationQuery>
export const useVideosWithBasicInformation = (
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe just useBasicVideos? We already use a similar name - useBasicChannel

@@ -11,6 +11,16 @@ fragment LicenseFields on License {
customText
}

fragment VideoBasicFields on Video {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Likewise, we currently use BasicChannelFields

@drillprop drillprop merged commit 5bcf11e into Joystream:video-player-update Jul 22, 2021
drillprop added a commit that referenced this pull request Jul 22, 2021
* fix issue with redundant orion requests

* cr fixes
drillprop added a commit that referenced this pull request Jul 23, 2021
* fix issue with redundant orion requests

* cr fixes
drillprop added a commit that referenced this pull request Jul 26, 2021
* fix issue with redundant orion requests

* cr fixes
kdembler pushed a commit that referenced this pull request Jul 28, 2021
* fix issue with redundant orion requests

* cr fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants