Skip to content

Commit

Permalink
bug
Browse files Browse the repository at this point in the history
  • Loading branch information
vanshulagarwal committed Jul 27, 2024
1 parent 36a42c7 commit 46e0556
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/components/Navbar/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const Navbar = () => {
onChange={(e) => {
setValue(e.target.value);
}}
placeholder="Search username..."
placeholder="Search"
/>
{openSearchResults && (
<div className="options" onMouseDown={handleMouseDown}>
Expand Down
2 changes: 1 addition & 1 deletion client/src/hooks/usePostFetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const usePostFetch = async (url, bodyData, makeCall = true) => {
console.log(err);
return {
success: false,
status: err.response.status,
status: err?.response?.status,
error: `${err.response.data.error}`
}
}
Expand Down

0 comments on commit 46e0556

Please sign in to comment.