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

[docs] Update templates, premium-themes to use makeStyles from @material-ui/styles #26131

Merged
merged 6 commits into from
May 6, 2021

Conversation

mnajdova
Copy link
Member

@mnajdova mnajdova commented May 4, 2021

@mui-pr-bot
Copy link

mui-pr-bot commented May 4, 2021

No bundle size changes

Generated by 🚫 dangerJS against 8767454

@mnajdova mnajdova marked this pull request as ready for review May 5, 2021 15:06
@mnajdova mnajdova added the docs Improvements or additions to the documentation label May 5, 2021
@@ -1,5 +1,6 @@
import * as React from 'react';
import { makeStyles } from '@material-ui/core/styles';
import { makeStyles } from '@material-ui/styles';

Copy link
Member

Choose a reason for hiding this comment

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

It's because of import { Theme } from '@material-ui/core/styles';, maybe we should move the import to the bottom?

Suggested change

x the other cases

Copy link
Member Author

Choose a reason for hiding this comment

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

Let me try that

Copy link
Member Author

Choose a reason for hiding this comment

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

docs/pages/premium-themes/onepirate/forgot-password.js Outdated Show resolved Hide resolved
@mnajdova mnajdova merged commit 34a1e3b into mui:next May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants