Skip to content

Commit 5e9bcf0

Browse files
committed
chore: of it
1 parent 79566ee commit 5e9bcf0

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

src/UniqueProvider/FloatBg.tsx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,6 @@ const FloatBg = (props: FloatBgProps) => {
3636

3737
const floatBgCls = `${prefixCls}-float-bg`;
3838

39-
// ========================= Ready ==========================
40-
// const [delayReady, setDelayReady] = React.useState(false);
41-
42-
// React.useEffect(() => {
43-
// setDelayReady(ready);
44-
// }, [ready]);
45-
4639
const [motionVisible, setMotionVisible] = React.useState(false);
4740

4841
// ========================= Styles =========================
@@ -64,9 +57,6 @@ const FloatBg = (props: FloatBgProps) => {
6457
sizeStyle.height = popupSize.height;
6558
}
6659

67-
// Remove console.log as it's for debugging only
68-
// console.log('>>>', ready, open, offsetStyle);
69-
7060
// ========================= Render =========================
7161
return (
7262
<CSSMotion

src/hooks/useOffsetStyle.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ export default function useOffsetStyle(
1111
offsetX: number,
1212
offsetY: number,
1313
) {
14-
// TODO: Move offsetStyle logic to useOffsetStyle.ts hooks
1514
// >>>>> Offset
1615
const AUTO = 'auto' as const;
1716

0 commit comments

Comments
 (0)