mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 04:14:18 +00:00
♻️ enhan: add noti link in header
:%s
This commit is contained in:
parent
a99b4d5e21
commit
454e22344c
@ -29,6 +29,10 @@ const HeaderMenu = memo(({ openModalAuthen, openModalInfo, toggleFilter, toggleC
|
||||
onClick: openModalInfo,
|
||||
name: 'Create User Info (Demo)',
|
||||
},
|
||||
{
|
||||
link: ROUTE.NOTIFICATION,
|
||||
name: 'Notifications',
|
||||
},
|
||||
{
|
||||
link: ROUTE.ACCOUNT,
|
||||
name: 'Account',
|
||||
|
@ -25,7 +25,7 @@ const OPTION_MENU = [
|
||||
isMarked: false,
|
||||
},
|
||||
{
|
||||
link: `${ROUTE.ACCOUNT}?${QUERY_KEY.TAB}=${ACCOUNT_TAB.NOTIFICATION}`,
|
||||
link: ROUTE.NOTIFICATION,
|
||||
name: 'Notifications',
|
||||
icon: <IconNoti />,
|
||||
isMarked: true,
|
||||
|
@ -21,6 +21,7 @@ export const ROUTE = {
|
||||
RECIPES: '/recipes',
|
||||
RECIPE_DETAIL: '/recipe',
|
||||
|
||||
NOTIFICATION: '/notification',
|
||||
BUSSINESS: '/bussiness',
|
||||
CONTACT: '/contact',
|
||||
CHECKOUT: '/checkout',
|
||||
@ -35,7 +36,6 @@ export const ACCOUNT_TAB = {
|
||||
CUSTOMER_INFO: '',
|
||||
ORDER: 'orders',
|
||||
FAVOURITE: 'wishlist',
|
||||
NOTIFICATION: 'notification',
|
||||
}
|
||||
|
||||
export const QUERY_KEY = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user