Skip to content

Fixed: Code readability (spaces, code comments) and segregate repetitive tags to individual components - #15

Open
Tazmenian wants to merge 4 commits into
davidrayc:developfrom
Tazmenian:feat/mark-m/product-modal
Open

Fixed: Code readability (spaces, code comments) and segregate repetitive tags to individual components #15
Tazmenian wants to merge 4 commits into
davidrayc:developfrom
Tazmenian:feat/mark-m/product-modal

Conversation

@Tazmenian

Copy link
Copy Markdown

-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

@vercel

vercel Bot commented Mar 18, 2024

Copy link
Copy Markdown

@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.

@davidrayc
davidrayc requested review from davidrayc and evad-e March 19, 2024 10:48
Comment thread app/components/ProductModal.tsx Outdated
Comment thread app/components/ProductModal.tsx Outdated
</div>
<div className="flex justify-between mt-4">
<label htmlFor="itemCode" className="block mb-1">Item Code</label>
<input

Copy link
Copy Markdown
Collaborator

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

Comment thread app/components/ProductModal.tsx Outdated
/>
</div>
<div className="flex justify-end w-full mt-6">
<button

Copy link
Copy Markdown
Collaborator

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

Comment thread app/components/ProductModal.tsx Outdated
Comment thread app/page.tsx
import { useEffect, useState } from 'react';
import Login from '../app/components/Login';


Copy link
Copy Markdown
Collaborator

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

@evad-e

evad-e commented Mar 19, 2024

Copy link
Copy Markdown
Collaborator

Update PR title as well please

@Tazmenian Tazmenian changed the title Feat/mark m/product modal Fixed: Code readability (spaces, code comments) and segregate repetitive tags to individual components Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants