Skip to content

Commit a7bb6e7

Browse files
committed
chore: clean up
1 parent fa9f855 commit a7bb6e7

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

docs/examples/point.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/* eslint no-console:0 */
22

33
import React from 'react';
4-
import Trigger, { ActionType } from '@rc-component/trigger';
4+
import type { ActionType } from '@rc-component/trigger';
5+
import Trigger from '@rc-component/trigger';
56
import '../../assets/index.less';
67
import './point.less';
78

src/index.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ import { isDOM } from '@rc-component/util/lib/Dom/findDOMNode';
66
import { getShadowRoot } from '@rc-component/util/lib/Dom/shadow';
77
import useEvent from '@rc-component/util/lib/hooks/useEvent';
88
import useId from '@rc-component/util/lib/hooks/useId';
9-
import useLayoutEffect, {
10-
useLayoutUpdateEffect,
11-
} from '@rc-component/util/lib/hooks/useLayoutEffect';
9+
import useLayoutEffect from '@rc-component/util/lib/hooks/useLayoutEffect';
1210
import * as React from 'react';
1311
import Popup, { type MobileConfig } from './Popup';
1412
import type { TriggerContextProps } from './context';

0 commit comments

Comments
 (0)