Next.js Discord

Discord Forum

Can you help me with out with this

Answered
Exotic Shorthair posted this in #help-forum
Open in Discord
Exotic ShorthairOP
so i was trying to use the mui x libarary to help me out with the time but i'm doing something wrong here is the pictures of me trying to wrap it

Thank you for reading hoe yu could help me
Answered by Giant panda
app.js is not a default Next file and doesn't do anything here. It also doesn't export anything. You need to add the provider where it's needed, in the worst case scenario in the root layout.
View full answer

3 Replies

Giant panda
app.js is not a default Next file and doesn't do anything here. It also doesn't export anything. You need to add the provider where it's needed, in the worst case scenario in the root layout.
Answer
Giant panda
(Also please use more meaningful thread titles in the future, the current one doesn't describe any thing what you are doing)
Exotic ShorthairOP
Ty i will make sure to use a better title next time