Skip to content

Commit 578d77f

Browse files
committed
chore: clean useless code
1 parent 3622a34 commit 578d77f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Dialog/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ export default function Dialog(props: IDialogPropTypes) {
132132
if (visible) {
133133
setAnimatedVisible(true);
134134
}
135-
return () => {};
136135
}, [visible]);
137136

138137
// Remove direct should also check the scroll bar update

0 commit comments

Comments
 (0)