-
Notifications
You must be signed in to change notification settings - Fork 257
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
Get rid of some prop type console warnings #4072
Conversation
cc4174b
to
228b23d
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4072 +/- ##
=======================================
Coverage 94.52% 94.52%
=======================================
Files 313 313
Lines 14766 14769 +3
Branches 2496 2492 -4
=======================================
+ Hits 13957 13960 +3
Misses 804 804
Partials 5 5 ☔ View full report in Codecov by Sentry. |
228b23d
to
000de07
Compare
|
||
if (!accessTokenServiceId || !authServiceId) return null; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (!accessTokenServiceId || !authServiceId) return null; |
authServiceId is covered later:
https://github.com/ProjectMirador/mirador/pull/4072/files#diff-dfe0ec8d6ff147fa74246b2b5bddddb923d72f4572ba8da097a5b4f991168fd9R101
I can't tell if accessTokenServiceId
is critical to rendering the UI (it looks like maybe it's just used in the callbacks?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, re: authServiceId
since it is referenced on line 24 I will keep this and remove the later check?
000de07
to
1b4c943
Compare
No description provided.