File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
src/pages/myPage/AccountInfoChange Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ import EnterForm from "../../../components/EnterForm";
77
88import { SERVER_URL } from "../../../constants/ServerURL" ;
99
10+ import useWindowDimensions from "@/hooks/useWindowDimensions" ;
11+
1012import "./ChangeEnter.scss" ;
1113import "./../../../styles/text.css" ;
1214
@@ -15,6 +17,10 @@ const AccountInfoChangeEnter = ({ setChangeShowPermission }) => {
1517 const [ pwValid , setPwValid ] = useState ( false ) ;
1618 const [ showPwValid , setShowPwValid ] = useState ( false ) ;
1719
20+ const {
21+ widthConditions : { isMobile } ,
22+ } = useWindowDimensions ( ) ;
23+
1824 const onClickInputBtn = async ( ) => {
1925 try {
2026 const response = await axios . post (
@@ -60,6 +66,7 @@ const AccountInfoChangeEnter = ({ setChangeShowPermission }) => {
6066 } }
6167 errorFlag = { showPwValid && ! pwValid }
6268 errorMessage = "비밀번호가 일치하지 않습니다."
69+ style = { isMobile ? { width : "332px" } : { } }
6370 > </ AuthPwInputField >
6471 < button
6572 className = "p-small-bold c-white t-align-center c-pointer"
You can’t perform that action at this time.
0 commit comments