fixed map tests

This commit is contained in:
jackiettran
2025-11-06 16:56:17 -05:00
parent 2956b79f34
commit 2ee4b5c389
3 changed files with 75 additions and 27 deletions

View File

@@ -287,12 +287,7 @@ const Owning: React.FC = () => {
return (
<div className="container mt-4">
<div className="d-flex justify-content-between align-items-center mb-4">
<h1>Owning</h1>
<Link to="/create-item" className="btn btn-primary">
Add New Item
</Link>
</div>
<h1 className="mb-4">Owning</h1>
{error && (
<div className="alert alert-danger" role="alert">
@@ -487,10 +482,15 @@ const Owning: React.FC = () => {
</div>
)}
<h4 className="mb-3">
<i className="bi bi-list-ul me-2"></i>
Listings
</h4>
<div className="d-flex justify-content-between align-items-center mb-3">
<h4 className="mb-0">
<i className="bi bi-list-ul me-2"></i>
Listings
</h4>
<Link to="/create-item" className="btn btn-primary">
Add New Item
</Link>
</div>
{listings.length === 0 ? (
<div className="text-center py-5">