Skip to content

Commit

Permalink
bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Ansh101112 committed Jun 23, 2024
1 parent 8676af8 commit 2f22577
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Dashboards/UserD.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React, { useEffect, useState } from "react";
import Navbar from "../components/Navbar";
import { toast, ToastContainer } from "react-toastify";
import { useNavigate } from "react-router-dom";
import { format, parseISO } from "date-fns";
import axios from "axios";
import { Link } from "react-router-dom";

Expand Down Expand Up @@ -231,7 +230,7 @@ const UserD = () => {
</span>
</div>
<div>{product.product_info}</div>
<button
<button
className="mt-2 px-4 py-2 text-sm text-white bg-red-500 rounded hover:bg-red-600"
onClick={() => handleDelete(product.id)}
>
Expand Down

0 comments on commit 2f22577

Please sign in to comment.