From 728251633841b950897ec1980cec9571a920d12f Mon Sep 17 00:00:00 2001 From: Sanghyeon Sim <5338095@gmail.com> Date: Sat, 2 Sep 2023 09:31:15 +0900 Subject: [PATCH] feat: make shop list error message json format --- source/component/ListShop.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/component/ListShop.js b/source/component/ListShop.js index a40a5e1..0684c57 100644 --- a/source/component/ListShop.js +++ b/source/component/ListShop.js @@ -22,8 +22,10 @@ const ListShop = ({shops, setShops, setType}) => { {shop.length === 0 ? ( - Status code: 404 - 검색 결과가 없습니다. + {"{"} + "Status code": 404 + "Description": "검색 결과가 없습니다." + {"{"} ) : (