Skip to content

Commit 1787e9c

Browse files
committed
fix: 480 이하 막기
1 parent 99f8ac3 commit 1787e9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/MainVer2.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import "./MainVer2Page2.scss";
3535
const MainVer2 = () => {
3636
const navigate = useNavigate();
3737
const {
38-
widthConditions: { isDesktop, isLaptop, isTablet, isMobile },
38+
widthConditions: { isDesktop, isLaptop, isTablet, isMobile, isSmallMobile },
3939
} = useWindowDimensions();
4040

4141
const content2Title = () => "작품 둘러보기";
@@ -62,7 +62,7 @@ const MainVer2 = () => {
6262
? "h4-regular c-white"
6363
: "p-large-regular c-white";
6464

65-
if (isMobile) {
65+
if (isMobile || isSmallMobile) {
6666
return <MobileError />;
6767
}
6868

0 commit comments

Comments
 (0)