diff --git a/app/globals.css b/app/globals.css index 00abbf4..f50c3f8 100644 --- a/app/globals.css +++ b/app/globals.css @@ -286,6 +286,10 @@ html { padding-bottom: 10px; } + .MuiModal-root .sm-modal:nth-child(3) { + border-radius: 8px !important; + } + .MuiModal-root div:nth-child(3) { border-radius: 0 !important; } diff --git a/components/dashboard/userAccount/tabs/comments/Comment.js b/components/dashboard/userAccount/tabs/comments/Comment.js index 2cb77cf..b560b48 100644 --- a/components/dashboard/userAccount/tabs/comments/Comment.js +++ b/components/dashboard/userAccount/tabs/comments/Comment.js @@ -40,7 +40,8 @@ function Comment({ data, loading, idx, length }) {

@@ -42,14 +42,14 @@ function ModalDeleteComment() { diff --git a/components/dashboard/userAccount/tabs/turns/isTurnsDetails/DetailLg.js b/components/dashboard/userAccount/tabs/turns/isTurnsDetails/DetailLg.js index c3a192a..eb086ca 100644 --- a/components/dashboard/userAccount/tabs/turns/isTurnsDetails/DetailLg.js +++ b/components/dashboard/userAccount/tabs/turns/isTurnsDetails/DetailLg.js @@ -12,7 +12,7 @@ import Image from "next/image"; import React from "react"; function DetailLg({ user, loading }) { - const data = user.done[1]; + const data = user.turns.done[1]; return (

diff --git a/components/dashboard/userAccount/tabs/turns/isTurnsDetails/DetailSm.js b/components/dashboard/userAccount/tabs/turns/isTurnsDetails/DetailSm.js index b795da8..7428a6a 100644 --- a/components/dashboard/userAccount/tabs/turns/isTurnsDetails/DetailSm.js +++ b/components/dashboard/userAccount/tabs/turns/isTurnsDetails/DetailSm.js @@ -8,7 +8,7 @@ import CircularLoading from "@/app/component/loading/Circular"; import TextLoading from "@/app/component/loading/Text"; function DetailSm({ user, loading }) { - const data = user.done[1]; + const data = user.turns.done[1]; return (
diff --git a/components/layout/footer/menu/ListMenu.js b/components/layout/footer/menu/ListMenu.js index 27285c5..778f7db 100644 --- a/components/layout/footer/menu/ListMenu.js +++ b/components/layout/footer/menu/ListMenu.js @@ -2,8 +2,6 @@ import Link from "next/link"; import React from "react"; function ListMenu({ list, isOpen }) { - console.log(list); - return (
    diff --git a/components/layout/sidebar/ModalLogout.js b/components/layout/sidebar/ModalLogout.js index 47bbeab..1de0cd7 100644 --- a/components/layout/sidebar/ModalLogout.js +++ b/components/layout/sidebar/ModalLogout.js @@ -7,7 +7,7 @@ function ModalLogout({ open, handleClose }) {

    diff --git a/components/panel/userAccount/bank/List.js b/components/panel/userAccount/bank/List.js index 3337f4e..52ec17d 100644 --- a/components/panel/userAccount/bank/List.js +++ b/components/panel/userAccount/bank/List.js @@ -1,5 +1,5 @@ import CustomTable from "@/app/component/CustomTable"; -import { Button, Switch, TableCell, TableRow } from "@mui/material"; +import { Button, TableCell, TableRow } from "@mui/material"; import TextLoading from "@/app/component/loading/Text"; import TrashB from "@/components/icons/TrashB"; import EditB from "@/components/icons/EditB"; diff --git a/components/panel/userAccount/bank/cards/Item.js b/components/panel/userAccount/bank/cards/Item.js index e80f3cc..4af89ab 100644 --- a/components/panel/userAccount/bank/cards/Item.js +++ b/components/panel/userAccount/bank/cards/Item.js @@ -4,7 +4,7 @@ import EditB from "@/components/icons/EditB"; import TrashB from "@/components/icons/TrashB"; import { Button } from "@mui/material"; -function Item({ data, loading }) { +function Item({ data, loading, changeStatus }) { return (

  • @@ -14,7 +14,11 @@ function Item({ data, loading }) {

    {data.status ? "فعال" : "غیر فعال"}

    - +
  • diff --git a/components/panel/userAccount/bank/cards/index.js b/components/panel/userAccount/bank/cards/index.js index b75769c..c28540a 100644 --- a/components/panel/userAccount/bank/cards/index.js +++ b/components/panel/userAccount/bank/cards/index.js @@ -1,10 +1,10 @@ import Item from "./Item"; -function Cards({ data, loading }) { +function Cards({ data, loading, changeStatus }) { return (
      {data.map((item, idx) => ( - + ))}
    );