fixed map tests
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user