- Notifications
You must be signed in to change notification settings - Fork 3
update Example #4
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:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,9 @@ | ||
| import React from "react"; | ||
| import { Button } from "@material-ui/core"; | ||
| const SmartButton = () => { | ||
| return <Button> | ||
| return <div> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why change this to a div? Should this be just plain html button? If we are removing the @material-ui dep should that be removed from the package.json? | ||
| Hey, I'm a smart button | ||
| </Button> | ||
| </div> | ||
| }; | ||
| export default SmartButton; | ||
| export default SmartButton; | ||
Uh oh!
There was an error while loading. Please reload this page.
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.
Doesn't this break the nextjs functionality? Might just be better to remove the head + still use http://localhost:3000/testing
Or just remove the _app.js altogether.