diff --git a/app/component/EditField.js b/app/component/EditField.js index 466a1ac..98170f3 100644 --- a/app/component/EditField.js +++ b/app/component/EditField.js @@ -49,19 +49,21 @@ function EditField({ transition: "0.5s all", }, }, + "& input::-webkit-outer-spin-button, & input::-webkit-inner-spin-button": + { + display: "none", + }, }} /> - {!type && ( - - )} + onClick={() => { + // changeData(!data.isEdit, "isEdit", name); + }} + > + {icon ? icon : iconGray ? : } + ); } diff --git a/app/component/ProfressDetail.js b/app/component/ProfressDetail.js index 64995df..1a0d028 100644 --- a/app/component/ProfressDetail.js +++ b/app/component/ProfressDetail.js @@ -4,7 +4,7 @@ import { LinearProgress } from "@mui/material"; function ProgressDetail({ data }) { return (
  • -

    +

    {data.label}

    -

    +

    {data.label}

    -

    {value}

    +

    + {value} +

  • ); } diff --git a/components/dashboard/userAccount/tabs/detailUser/Content.js b/components/dashboard/userAccount/tabs/detailUser/Content.js index f6e940f..b5fe402 100644 --- a/components/dashboard/userAccount/tabs/detailUser/Content.js +++ b/components/dashboard/userAccount/tabs/detailUser/Content.js @@ -1,6 +1,6 @@ function Content({ isConfirmed, children, title }) { return ( -
    +

    {title}

    {isConfirmed && ( diff --git a/components/dashboard/userAccount/tabs/detailUser/Form.js b/components/dashboard/userAccount/tabs/detailUser/Form.js index de73d58..2686a82 100644 --- a/components/dashboard/userAccount/tabs/detailUser/Form.js +++ b/components/dashboard/userAccount/tabs/detailUser/Form.js @@ -18,6 +18,7 @@ function Form({ data, changeData, updateSelect }) { { - console.log(event); - - setSort(event.target.name); - }; + const handleChange = (event) => setSort(event.target.name); return (