Skip to content

Commit

Permalink
💄 단어 변경 (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaewoong2 committed Oct 29, 2022
1 parent 9bb1596 commit f29e35d
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions src/pages/Orders/components/blocks/Orders.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React from 'react'
import { Layout } from '@/components'
import { ActiveLink } from '@/components/atoms'
import { NavigationWithArrow } from '@/components/blocks'
import useGetUser from '@/hooks/useGetUser'
import { COMPANY, MEMBER } from '@/type'
import React from 'react'
import { Outlet, useNavigate, useParams } from 'react-router-dom'
import NavigationWithDivider from '../molecules/NavigationWithDivider'

Expand All @@ -30,10 +30,19 @@ const Orders = () => {
<NavigationWithDivider
buttons={[
<ActiveLink active={params['*'] === 'company'} type="button" to="company">
요청
내 가게 주문
</ActiveLink>,
<ActiveLink active={params['*'] === 'consumer'} type="button" to="consumer">
응답
요청한 주문
</ActiveLink>,
]}
/>
)}
{user?.role === MEMBER && (
<NavigationWithDivider
buttons={[
<ActiveLink active={params['*'] === 'consumer'} type="button" to="consumer">
요청한 주문
</ActiveLink>,
]}
/>
Expand Down

0 comments on commit f29e35d

Please sign in to comment.