Skip to content

Commit

Permalink
Update agent profile
Browse files Browse the repository at this point in the history
  • Loading branch information
IT21138072 committed May 19, 2023
1 parent 7126b8d commit 4bf0c40
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion frontend/src/components/Admin/AdminDashboardMain.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { getAllOrdersOfAdmin } from "../../redux/actions/order";
import Loader from "../Layout/Loader";
import { getAllSellers } from "../../redux/actions/sellers";

{/* Agent management section */}
const AdminDashboardMain = () => {
const dispatch = useDispatch();

Expand Down Expand Up @@ -42,7 +43,7 @@ const AdminDashboardMain = () => {
},
{
field: "itemsQty",
headerName: "Items Qty",
headerName: "Days",
type: "number",
minWidth: 130,
flex: 0.7,
Expand Down
7 changes: 4 additions & 3 deletions frontend/src/components/Admin/AllSellers.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ import { RxCross1 } from "react-icons/rx";
import axios from "axios";
import { server } from "../../server";
import { toast } from "react-toastify";
import { getAllSellers } from "../../redux/actions/sellers";
import { getAllSellers } from "../../redux/actions/sellers";s
import { Link } from "react-router-dom";

{/* List of agents */}
const AllSellers = () => {
const dispatch = useDispatch();
const { sellers } = useSelector((state) => state.seller);
Expand Down Expand Up @@ -49,7 +50,7 @@ const AllSellers = () => {
},
{
field: "address",
headerName: "Seller Address",
headerName: "Agent Address",
type: "text",
minWidth: 130,
flex: 0.7,
Expand All @@ -66,7 +67,7 @@ const AllSellers = () => {
field: " ",
flex: 1,
minWidth: 150,
headerName: "Preview Shop",
headerName: "Preview Agent",
type: "number",
sortable: false,
renderCell: (params) => {
Expand Down

0 comments on commit 4bf0c40

Please sign in to comment.