Skip to content

Commit

Permalink
slight change
Browse files Browse the repository at this point in the history
  • Loading branch information
vaibhavgarg25 committed Sep 15, 2024
1 parent fa3a2c5 commit 1055bd7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion client/src/components/Buyer/Login.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const Login = () => {
<div className={styles.boxvg}>
<div className={styles.containervg}>
<div className={styles.heading}>
<h1>Login</h1>
<h1>Login as Buyer</h1>
</div>
<div className={styles.formvg}>
<input
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Farmer/FELogin.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const FELogin = () => {
<div className={styles.boxvg}>
<div className={styles.containervg}>
<div className={styles.heading}>
<h1>Login</h1>
<h1>Login as Farmer</h1>
</div>
<div className={styles.formvg}>
<input
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Farmer/FLogin.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const FLogin = () => {
<div className={styles.boxvg}>
<div className={styles.containervg}>
<div className={styles.heading}>
<h1>Login</h1>
<h1>Login as Farmer</h1>
</div>
<div className={styles.formvg}>
<PhoneInput
Expand Down
8 changes: 2 additions & 6 deletions client/src/components/Negotiate/Chat.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -219,13 +219,9 @@ export default function Chat() {
<button
className={styles.mkc}
onClick={() => {
if (userType == 'farmer') {
navigate('/farmerdashboard');
} else {
navigate('/buyer');
}
navigate('/buyer')
}}
style={{ display: !currperson ? 'none' : 'flex' }}
style={{ display: currperson==='farmer' ? 'none' : 'flex' }}
>
Make Contract
</button>
Expand Down

0 comments on commit 1055bd7

Please sign in to comment.