-
Notifications
You must be signed in to change notification settings - Fork 37
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
refector all code and improve some UI #4
base: master
Are you sure you want to change the base?
Conversation
Auto formatting the code is required. I am working on it. Because of auto-prettifying the code, the code has so many changes in this PR. |
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.
A lot of code format changes are there.
<Main onToggle={toggleTheme} theme={theme} /> | ||
</> | ||
</ThemeProvider> | ||
// <div className="App"> | ||
// <header className="App-header"> | ||
// <img src={logo} className="App-logo" alt="logo" /> | ||
// <p> | ||
// Edit <code>src/App.js</code> and save to reload. | ||
// </p> | ||
// <a | ||
// className="App-link" | ||
// href="https://reactjs.org" | ||
// target="_blank" | ||
// rel="noopener noreferrer" | ||
// > | ||
// Learn React | ||
// </a> | ||
// </header> | ||
// </div> | ||
); |
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.
Commented code should not be pushed.
if (props.from === "tech") return <TechList />; | ||
else if (props.from === "design") return <DesignList />; | ||
else if (props.from === "motivation") return <MotivationList />; | ||
else if (props.from === "selfbranding") return <SelfBrandingList />; |
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.
Better way of doing this would be use of switch case.
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.
@bikkimahato , Thanks for suggestions. Feel free to raise PR to resolve these issues.
I hope I will contribute more in the future.