Skip to content
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

[Fixes] redirection on nav bar and chat #40

Merged
merged 1 commit into from
Jul 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[Fixes] redirection on nav bar and chat
lilika67 committed Jul 28, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit abf162ee2c5fe5dc2d48b4cba7de59a4ebf39d37
142 changes: 138 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -57,6 +57,7 @@
"redux-thunk": "^3.1.0",
"sass": "^1.77.5",
"sass-loader": "^14.2.1",
"socket.io-client": "^4.7.5",
"stream-browserify": "^3.0.0",
"stream-http": "^3.2.0",
"style-loader": "^4.0.0",
4 changes: 2 additions & 2 deletions src/components/AvailableProduct/product.tsx
Original file line number Diff line number Diff line change
@@ -116,10 +116,10 @@ const Product: React.FC<ProductProps> = ({
<div className="description">
<h2>{name}</h2>
<p>{price} $</p>
<p>
{/* <p>
<span className="bonus">Category: </span>
{category}
</p>
</p> */}
</div>
<div className="button-container">
<button className="btn view-more"><Link to={`/product/${productId}`} className='navLink'>View More</Link></button>
2 changes: 1 addition & 1 deletion src/components/Navbar/Navbar.scss
Original file line number Diff line number Diff line change
@@ -112,4 +112,4 @@
button {
background-color: $primary-color;
}
}
}
Loading