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 material-ui error on WrapperWidgetUI #41

Closed
wants to merge 3 commits into from

Conversation

edgarberm
Copy link
Contributor

No description provided.

@edgarberm edgarberm requested a review from neokore December 4, 2020 07:24
@VictorVelarde VictorVelarde self-requested a review December 9, 2020 12:05
@VictorVelarde
Copy link
Contributor

Looks good. Do you have any reference to the original error?
It will be also nice to add a line to the CHANGELOG

@neokore
Copy link
Contributor

neokore commented Dec 16, 2020

The error message is this:
image

keepMounted
open={open}
onClose={handleClose}
PaperProps={{
style: {
marginTop: '48px',
maxHeight: '144px',
width: '128px',
maxHeight: '168px',
Copy link
Contributor

@neokore neokore Dec 16, 2020

Choose a reason for hiding this comment

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

Migrate it to theme.spacing using useTheme hook, or better use a class

Copy link
Contributor

@VictorVelarde VictorVelarde Dec 16, 2020

Choose a reason for hiding this comment

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

By defeault 1 spacing = 8px, so

marginTop:  theme.spacing(8),
maxHeight:  theme.spacing(21),

@neokore
Copy link
Contributor

neokore commented Dec 16, 2020

Missing a changelog entry only, for the rest, it is OK

@VictorVelarde VictorVelarde changed the title FIX console error Fix material-ui error on WrapperWidgetUI Dec 16, 2020
@VictorVelarde
Copy link
Contributor

@neokore why develop and not master?

@neokore
Copy link
Contributor

neokore commented Dec 18, 2020

That's because this PR is old. @builtbyedgar already opened another PR (#55) because this one was hard to rebase. I'll close it.

@neokore neokore closed this Dec 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants