Skip to content

Commit

Permalink
Feat: replace hasamdong to tomntoms
Browse files Browse the repository at this point in the history
  • Loading branch information
hookor committed May 30, 2024
1 parent 0f8e49e commit 0ec859c
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
Binary file removed public/png/hasamdong.png
Binary file not shown.
Binary file added public/png/tomntoms.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions public/pwabuilder-sw.js
Original file line number Diff line number Diff line change
@@ -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 = [
Expand All @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion src/constants/coffee.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const BRANDS = [
'컴포즈커피',
'폴바셋',
'바나프레소',
'하삼동커피',
'탐앤탐스',
'커피빈',
'매머드커피',
'나만의 카페'
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/home/useGetPopularList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import useGetCacheData from '@/hooks/useGetCacheData';
import useSetCacheData from '@/hooks/useSetCacheData';

const useGetPopularList = () => {
const [brandList, setBrandList] = useState<WeeklyPopularTypes[]>();
const [brandList, setBrandList] = useState<WeeklyPopularTypes[]>([]);

const { data: weeklyPopularList } = useQuery({
queryKey: ['weeklyPopularList'],
Expand Down
6 changes: 3 additions & 3 deletions src/utils/convertBrandName.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ const changeVisitPurpose = (brandName: string) => {
if (brandName === 'banapresso') {
return '바나프레소';
}
if (brandName === 'hasamdong') {
return '하삼동커피';
if (brandName === 'tomntoms') {
return '탐앤탐스';
}
if (brandName === 'coffeebean') {
return '커피빈';
Expand Down Expand Up @@ -63,7 +63,7 @@ export const brandMapToEng = (brandName: string) => {
컴포즈커피: 'compose',
폴바셋: 'paulbassett',
바나프레소: 'banapresso',
하삼동커피: 'hasamdong',
탐앤탐스: 'tomntoms',
커피빈: 'coffeebean',
매머드커피: 'mammoth',
'나만의 카페': 'private'
Expand Down
4 changes: 2 additions & 2 deletions src/utils/getBrandPath.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -34,7 +34,7 @@ export const getBrandPath = (brand: string) => {
compose: '컴포즈커피',
paulbassett: '폴바셋',
banapresso: '바나프레소',
hasamdong: '하삼동커피',
tomntoms: '탐앤탐스',
coffeebean: '커피빈',
mammoth: '매머드커피',
private: '나만의 카페'
Expand Down

0 comments on commit 0ec859c

Please sign in to comment.