Skip to content

Commit

Permalink
update parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
devsdenepal authored Oct 15, 2024
1 parent d14ac98 commit d308719
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Pages/ViewProfile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const ViewProfiles = () => {
}, []);

const filteredProfiles = profiles.filter((profile) =>
profile.Name.toLowerCase().includes(searchTerm.toLowerCase())
profile.name.toLowerCase().includes(searchTerm.toLowerCase())
);

return (
Expand All @@ -59,18 +59,18 @@ const ViewProfiles = () => {
<div className="card">
<img src={`https://thispersondoesnotexist.com/`} />
<div className="card-body">
<h5 className="card-title">{profile.Name}</h5>
<h5 className="card-title">{profile.name}</h5>
<p className="card-text">
<strong>Gender:</strong> {profile.Gender}
<strong>Gender:</strong> {profile.gender}
</p>
<p className="card-text">
<strong>Age:</strong> {profile.Age}
<strong>Age:</strong> {profile.age}
</p>
<p className="card-text">
<strong>Country:</strong> {profile.Country}
<strong>Country:</strong> {profile.country}
</p>
<p className="card-text">
<strong>Religion:</strong> {profile.Religion}
<strong>Religion:</strong> {profile.religion}
</p>
<Link
to={`/edit-profile/${profile.$id}`}
Expand Down

0 comments on commit d308719

Please sign in to comment.