Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vanesssalai committed Jul 16, 2024
1 parent 52a78dc commit 34d985b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/components/sellerDashboard/sellerDashboard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import SimilarProducts from '../../components/recommendation/similarProducts/sim

ChartJS.register(CategoryScale, LinearScale, PointElement, LineElement, BarElement, Title, Tooltip, Legend, BoxPlotController, BoxAndWiskers);

function SellerDashboard({ listingID }) {
export default function SellerDashboard({ listingID }) {
const [listingData, setListingData] = useState(null);
const [similarListings, setSameProductType] = useState([]);
const [priceData, setPriceData] = useState(null);
Expand Down Expand Up @@ -543,6 +543,4 @@ function SellerDashboard({ listingID }) {
)}
</div>
);
};

export default SellerDashboard;
};

0 comments on commit 34d985b

Please sign in to comment.