diff --git a/public/png/hasamdong.png b/public/png/hasamdong.png deleted file mode 100644 index 2452dccd..00000000 Binary files a/public/png/hasamdong.png and /dev/null differ diff --git a/public/png/tomntoms.png b/public/png/tomntoms.png new file mode 100644 index 00000000..93e2b3a4 Binary files /dev/null and b/public/png/tomntoms.png differ diff --git a/public/pwabuilder-sw.js b/public/pwabuilder-sw.js index 2e521051..cafbda45 100644 --- a/public/pwabuilder-sw.js +++ b/public/pwabuilder-sw.js @@ -1,4 +1,4 @@ -const STATIC_CACHE_NAME = 'ddocker-static-v3'; +const STATIC_CACHE_NAME = 'ddocker-static-v4'; const DYNAMIC_CACHE_NAME = 'ddocker-dynamic-v1'; const ASSETS = [ @@ -12,7 +12,7 @@ const ASSETS = [ '/png/compose.png', '/png/ediya.png', '/png/emptyCup.png', - '/png/hasamdong.png', + '/png/tomntoms.png', '/png/hollys.png', '/png/mammoth.png', '/png/megacoffee.png', diff --git a/src/constants/coffee.ts b/src/constants/coffee.ts index 5803fc7c..517767bc 100644 --- a/src/constants/coffee.ts +++ b/src/constants/coffee.ts @@ -41,7 +41,7 @@ export const BRANDS = [ '컴포즈커피', '폴바셋', '바나프레소', - '하삼동커피', + '탐앤탐스', '커피빈', '매머드커피', '나만의 카페' diff --git a/src/hooks/home/useGetPopularList.ts b/src/hooks/home/useGetPopularList.ts index cf7dbf26..b4c86a3c 100644 --- a/src/hooks/home/useGetPopularList.ts +++ b/src/hooks/home/useGetPopularList.ts @@ -7,7 +7,7 @@ import useGetCacheData from '@/hooks/useGetCacheData'; import useSetCacheData from '@/hooks/useSetCacheData'; const useGetPopularList = () => { - const [brandList, setBrandList] = useState(); + const [brandList, setBrandList] = useState([]); const { data: weeklyPopularList } = useQuery({ queryKey: ['weeklyPopularList'], diff --git a/src/utils/convertBrandName.ts b/src/utils/convertBrandName.ts index ee6393b0..b0439f6b 100644 --- a/src/utils/convertBrandName.ts +++ b/src/utils/convertBrandName.ts @@ -33,8 +33,8 @@ const changeVisitPurpose = (brandName: string) => { if (brandName === 'banapresso') { return '바나프레소'; } - if (brandName === 'hasamdong') { - return '하삼동커피'; + if (brandName === 'tomntoms') { + return '탐앤탐스'; } if (brandName === 'coffeebean') { return '커피빈'; @@ -63,7 +63,7 @@ export const brandMapToEng = (brandName: string) => { 컴포즈커피: 'compose', 폴바셋: 'paulbassett', 바나프레소: 'banapresso', - 하삼동커피: 'hasamdong', + 탐앤탐스: 'tomntoms', 커피빈: 'coffeebean', 매머드커피: 'mammoth', '나만의 카페': 'private' diff --git a/src/utils/getBrandPath.ts b/src/utils/getBrandPath.ts index abc3680f..b4d5be85 100644 --- a/src/utils/getBrandPath.ts +++ b/src/utils/getBrandPath.ts @@ -11,7 +11,7 @@ const pathMap = (brand: string) => { 컴포즈커피: '/png/compose.png', 폴바셋: '/png/paulbassett.png', 바나프레소: '/png/banapresso.png', - 하삼동커피: '/png/hasamdong.png', + 탐앤탐스: '/png/tomntoms.png', 커피빈: '/png/coffeebean.png', 매머드커피: '/png/mammoth.png', '나만의 카페': 'png/private.png' @@ -34,7 +34,7 @@ export const getBrandPath = (brand: string) => { compose: '컴포즈커피', paulbassett: '폴바셋', banapresso: '바나프레소', - hasamdong: '하삼동커피', + tomntoms: '탐앤탐스', coffeebean: '커피빈', mammoth: '매머드커피', private: '나만의 카페'