-
Notifications
You must be signed in to change notification settings - Fork 10
Fixed: Code readability (spaces, code comments) and segregate repetitive tags to individual components #15
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: develop
Are you sure you want to change the base?
Conversation
…nconsistencies. Added explanatory comments for callout code.
|
@Tazmenian is attempting to deploy a commit to the shelly_boy's projects Team on Vercel. A member of the Team first needs to authorize it. |
app/components/ProductModal.tsx
Outdated
| </div> | ||
| <div className="flex justify-between mt-4"> | ||
| <label htmlFor="itemCode" className="block mb-1">Item Code</label> | ||
| <input |
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.
Input is repetitive. Please separate in another component
app/components/ProductModal.tsx
Outdated
| /> | ||
| </div> | ||
| <div className="flex justify-end w-full mt-6"> | ||
| <button |
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.
Buttons are repetitive as well. Please put in a separate component
| import { useEffect, useState } from 'react'; | ||
| import Login from '../app/components/Login'; | ||
|
|
||
|
|
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.
Please format. Remove added spaces
|
Update PR title as well please |
…ive tags to individual components
-Just added below codes for Product Modal
-have updated latest devDepencies at package.jason
-include useeffect on page.tsx for calling of product modal
-added color light-green on tailwind config