Skip to content

Commit

Permalink
chore: version 1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
halfmoon-mind committed Sep 2, 2023
1 parent b63a2f8 commit 9b9bf28
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "up-d4te",
"version": "1.0.3",
"version": "1.0.4",
"description": "Recommend Dating Course in Korea with CLI",
"author": {
"name": "Sanghyeon Sim",
Expand All @@ -16,7 +16,10 @@
"up-d4te",
"dating",
"up-dating",
"date"
"date",
"girlfriend",
"gf",
"boyfriend"
],
"type": "module",
"engines": {
Expand Down
5 changes: 5 additions & 0 deletions source/Search.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ const Search = ({setlist, setStation, setId, setStoreName, setSingleShop}) => {
setSearch('');
return;
}
if(search === 'girlfriend') {
setlist(list => [...list, [['Not Found.'], search]]);
setSearch('');
return;
}
const suggestion = suggestCommand(search);
setlist(list => [...list, [[suggestion], search]]);
setSearch('');
Expand Down
1 change: 1 addition & 0 deletions source/component/ListShop.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import theme from '../Theme.js';
import TextInput from 'ink-text-input';
import EachShop from './EachShop.js';
import shoplist from '../examples/shoplist.js';
import { getAllPlaceCheck } from '../api/remote.js';

const ListShop = ({shops, setShops, setType}) => {
const [confirmCommand, setConfirmCommand] = useState('');
Expand Down
2 changes: 1 addition & 1 deletion source/component/ShopPost.js
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ const ShopPost = ({userId, category, setStoreName}) => {
if (confirmCommand == ':wq') {
postShop(
userId,
shopTitle,
kakaoShops[selectedShopIndex].place_name,
phoneNumber,
kakaoShops[selectedShopIndex].address_name,
`${openTimeHour
Expand Down

0 comments on commit 9b9bf28

Please sign in to comment.