-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
[BUG] In /src/App.js useStyles / makeStyles is depr. #3
Comments
hey did you try using migration to tss-react |
i think i can help in this. Let me know the how to contribute. |
The styling could be moved to App.css instead. I don't even know what tss-react is. I am using MUI here. I wanted to make compoment css for Drawer and the navigation. If you want to work on it, go ahead. |
you just want the makestyles css to work right ??? |
It's deprecated.. it can just be removed. @mui/styles and @mui/material/styles are both deprecated, so they won't work. The styling should ideally be moved to individual CSS files. These ones were for the Drawer component and the top navbar, exported from MUI as AppBar, Toolbar... https://mui.com/material-ui/react-app-bar/https://mui.com/material-ui/react-app-bar/ |
if you think tss-react could fix it, I am open to options here. |
hey i have solved the issue of makeStyles but now it shows some useContext issue. Was it already there ?? |
Not that I know of @itspunkaj . Feel free to PR what you have. |
um lemme check it i'll PR in hour or so |
No rush. Am not at my PC rn. I can review when I get back. I need to add the TÒDO issues today as well as there are missing some of the pages and their components. |
okay |
Description
useStyles & makeStyles is deprecated in @mui 5
Remove this styling and add .css files instead.
Screenshots
No response
The text was updated successfully, but these errors were encountered: