Skip to content

Commit cdb178f

Browse files
committed
Add url prefix
1 parent 4e56584 commit cdb178f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/landing/src/app/(detail)/docs/MenuItem.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { Box, css, Flex, Image, Text } from '@devup-ui/react'
22
import Link from 'next/link'
33

4+
import { URL_PREFIX } from '../../../constants'
45
import { OpenMenuItem } from './OpenMenuItem'
56

67
export interface MenuItemProps {
@@ -34,7 +35,7 @@ export function MenuItem(props: MenuItemProps) {
3435
>
3536
{children}
3637
</Text>
37-
{subMenu && <Image boxSize="16px" src="/menu-arrow.svg" />}
38+
{subMenu && <Image boxSize="16px" src={URL_PREFIX + '/menu-arrow.svg'} />}
3839
</Flex>
3940
)
4041
return to ? (

0 commit comments

Comments
 (0)