Skip to content

Commit

Permalink
fix: PC버전에서 음식점 검색 제외
Browse files Browse the repository at this point in the history
  • Loading branch information
kimeodml committed Jul 23, 2024
1 parent 3249f81 commit a99a735
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions src/page/ShopRegistration/view/PC/ShopConfirmation/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { ReactComponent as Logo } from 'assets/svg/auth/koin-logo.svg';
import { ReactComponent as Cutlery } from 'assets/svg/shopRegistration/cutlery.svg';
import Copyright from 'component/common/Copyright';
import Category from 'page/ShopRegistration/component/Modal/Category';
import SearchShop from 'page/ShopRegistration/component/Modal/SearchShop';
import OperateTimePC from 'page/ShopRegistration/component/Modal/OperateTimePC';
import ConfirmPopup from 'page/ShopRegistration/component/ConfirmPopup';
import CustomModal from 'component/common/CustomModal';
Expand Down Expand Up @@ -36,11 +35,6 @@ export default function ShopConfirmation({ onNext }:{ onNext: () => void }) {
setTrue: openOperateTime,
setFalse: closeOperateTime,
} = useBooleanState(false);
const {
value: showSearchShop,
setTrue: openSearchShop,
setFalse: closeSearchShop,
} = useBooleanState(false);
const {
value: showConfirmPopup,
setTrue: openConfirmPopup,
Expand Down Expand Up @@ -204,24 +198,13 @@ export default function ShopConfirmation({ onNext }:{ onNext: () => void }) {
<div className={styles.form__section}>
<input
type="text"
className={styles.form__input}
className={styles['form__input-large']}
value={name}
{...register('name', { required: true })}
/>
<CustomButton content="가게검색" buttonSize="small" onClick={openSearchShop} />
</div>
{isError && name === '' && <ErrorMessage message={ERRORMESSAGE.name} />}
</div>
<CustomModal
title="가게검색"
modalSize="large"
hasFooter={false}
isOverflowVisible={false}
isOpen={showSearchShop}
onCancel={closeSearchShop}
>
<SearchShop open={showSearchShop} onCancel={closeSearchShop} />
</CustomModal>
<div>
<span className={styles.form__title}>주소정보</span>
<div className={styles.form__section}>
Expand Down

0 comments on commit a99a735

Please sign in to comment.