Skip to content

Commit

Permalink
fix: parcel build error (#512)
Browse files Browse the repository at this point in the history
  • Loading branch information
crazyair authored Sep 13, 2022
1 parent 8ab1b66 commit 0f6ecec
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,22 @@ import Menu from './Menu';
import MenuItem from './MenuItem';
import SubMenu from './SubMenu';
import MenuItemGroup from './MenuItemGroup';
import { useFullPath as useOriginFullPath } from './context/PathContext';
import { useFullPath } from './context/PathContext';
import Divider from './Divider';
import type { MenuProps } from './Menu';
import type { MenuItemProps } from './MenuItem';
import type { SubMenuProps } from './SubMenu';
import type { MenuItemGroupProps } from './MenuItemGroup';
import type { MenuRef } from './interface';

/** @private Only used for antd internal. Do not use in your production. */
const useFullPath = useOriginFullPath;

export {
SubMenu,
MenuItem as Item,
MenuItem,
MenuItemGroup,
MenuItemGroup as ItemGroup,
Divider,
/** @private Only used for antd internal. Do not use in your production. */
useFullPath,
};

Expand Down

0 comments on commit 0f6ecec

Please sign in to comment.