Skip to content

Commit 70604eb

Browse files
committed
refactor: code formatting
1 parent 7282516 commit 70604eb

File tree

4 files changed

+20
-15
lines changed

4 files changed

+20
-15
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,20 @@
1111
## 기능 소개
1212

1313
### 1. 주변 핫플레이스 검색
14+
1415
<img width="149" alt="image" src="https://github.com/gdsc-ssu/up-date-cli/assets/94737768/1cdfbcd1-5057-46d9-830e-8894c5328c65">
1516

1617
### 2.특정 역 주변 데이트 코스 추천
18+
1719
<img width="217" alt="image" src="https://github.com/gdsc-ssu/up-date-cli/assets/94737768/07eb658e-618c-4838-afe2-d9f0a97c098e">
1820
<img width="229" alt="image" src="https://github.com/gdsc-ssu/up-date-cli/assets/94737768/41c4e059-71d9-447a-aec5-909d6197d000"> <br>
1921

2022
### 3. 새로운 가게 등록
23+
2124
<img width="217" alt="image" src="https://github.com/gdsc-ssu/up-date-cli/assets/94737768/74fd8af7-2c7d-4697-9666-286aefdd46e5"> <br>
2225

23-
### 4. 특정 가게 상세 정보 확인 하기
26+
### 4. 특정 가게 상세 정보 확인 하기
27+
2428
<img width="293" alt="image" src="https://github.com/gdsc-ssu/up-date-cli/assets/94737768/87494ffc-53a4-422b-96fe-24104a9b539d">
2529

2630
## 기술 소개
@@ -30,12 +34,13 @@
3034
## 팀원 소개
3135

3236
| <img width="155" alt="image" src="https://github.com/gdsc-ssu/up-date-cli/assets/94737768/a4583445-ddc6-4980-aae5-a4acb58ae473"> | <img width="155" alt="image" src="https://github.com/gdsc-ssu/up-date-cli/assets/94737768/60b3cc1d-4c26-4f1f-ae4a-22f2bb0774b2"> | <img width="155" alt="image" src="https://github.com/gdsc-ssu/up-date-cli/assets/94737768/638a4d44-68d9-4568-8b74-9ff622f76010"> | <img width="155" alt="image" src="https://github.com/gdsc-ssu/up-date-cli/assets/94737768/302dd6cf-4cef-4fd4-9bf9-62357094989b"> |
33-
| --- | --- | --- | --- |
37+
| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
3438
| 심상현 | 최호연 | 장환곤 | 나세빈 |
3539
| cli 패키지 개발 | cli 패키지 개발 | 백엔드 개발 | 백엔드 개발 |
3640
| 반가워요 | 안아줘요 | 사랑해요 | 연락줘요 |
3741

3842
## How to install?
43+
3944
You must install Node version 16 or higher to operate correctly.
4045

4146
If you are using iTerm in the terminal, you may experience issues such as the screen flickering. If you are using a Mac, please run it in the default terminal.

source/Search.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const Search = ({setlist, setStation, setId, setStoreName, setSingleShop}) => {
7777
let storeId = search.slice(3, search.length);
7878
getSinglePlaceCheck(storeId).then(res => {
7979
if (res.data['statusCode'] == 404) {
80-
setlist(list => [...list, [["해당하는 가게가 없습니다."], search]]);
80+
setlist(list => [...list, [['해당하는 가게가 없습니다.'], search]]);
8181
setId(0);
8282
return;
8383
}

source/component/ListShop.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ const ListShop = ({shops, setShops, setType}) => {
2222
<Box marginY={1} flexDirection="column">
2323
{shop.length === 0 ? (
2424
<Box flexDirection="column">
25-
<Text>{"{"}</Text>
26-
<Text> "Status code": 404</Text>
27-
<Text> "Description": "검색 결과가 없습니다."</Text>
28-
<Text>{"{"}</Text>
25+
<Text>{'{'}</Text>
26+
<Text> "Status code": 404</Text>
27+
<Text> "Description": "검색 결과가 없습니다."</Text>
28+
<Text>{'{'}</Text>
2929
</Box>
3030
) : (
3131
<Box flexDirection="column">

source/component/ShopPost.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -261,14 +261,14 @@ const ShopPost = ({userId, category, setStoreName}) => {
261261

262262
// 메뉴 추가
263263
const addMenu = () => {
264-
setMenuList([
265-
...menuList,
266-
{name: menuName.split('\\')[0].trim(), price: menuPrice},
267-
]);
268-
setMenuName(''); // 입력 필드 초기화
269-
setMenuPrice(0); // 입력 필드 초기화
270-
setFocus(0); // 포커스 초기화
271-
};
264+
setMenuList([
265+
...menuList,
266+
{name: menuName.split('\\')[0].trim(), price: menuPrice},
267+
]);
268+
setMenuName(''); // 입력 필드 초기화
269+
setMenuPrice(0); // 입력 필드 초기화
270+
setFocus(0); // 포커스 초기화
271+
};
272272

273273
const searchKakaoShops = async () => {
274274
if (!shopTitle.length) {

0 commit comments

Comments
 (0)