-
Notifications
You must be signed in to change notification settings - Fork 112
[frontend] fix selector #3023
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
base: release/current
Are you sure you want to change the base?
[frontend] fix selector #3023
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## release/current #3023 +/- ##
==================================================
Coverage 41.20% 41.20%
Complexity 2286 2286
==================================================
Files 682 682
Lines 20937 20937
Branches 1424 1424
==================================================
Hits 8627 8627
Misses 11824 11824
Partials 486 486 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Bugs:
|
To check if this PR resolves the following issues:
Thank you! |
const useStyles = makeStyles()(() => ({ itemHead: { textTransform: 'uppercase' } })); | ||
const useStyles = makeStyles()(() => ({ | ||
itemHead: { textTransform: 'uppercase' }, | ||
item: { height: 50 }, |
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.
Not sur we want this.
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.
@@ -815,13 +815,13 @@ ToolBar.propTypes = { | |||
|
|||
const select = (state, ownProps) => { | |||
const helper = storeHelper(state); | |||
const endpoints = helper.getEndpoints() | |||
const endpoints = helper.getEndpoints().toJS() |
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.
Why toJS ?
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.
In these .js files, getting data from the store is done with the connect function from react redux so unlike useHelper I can not add an invisble layer of toJS conversion
|
d2ed391
to
500730b
Compare
Yes nice catch for the players one @RomuDeuxfois @savacano28 |
Proposed changes
Related issues
Checklist
Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...