@@ -4,11 +4,11 @@ import ReactDOM from "react-dom";
4
4
import { ClickAwayListener } from "@mui/material" ;
5
5
import { Wrap } from "../SimpleDiv" ;
6
6
import { SingleChildParentProps } from "../SimpleElementProps" ;
7
- import { Require } from "fudge-lib/dist /types/Basic" ;
8
- import { NumericAlignment , Rect } from "fudge-lib/dist /types/Gui" ;
9
- import { getDocumentRelativeRect } from "fudge-lib/dist /methods/Browser" ;
10
- import { toNumericAlignment } from "fudge-lib/dist /methods/Gui" ;
11
- import { coercePreferMin } from "fudge-lib/dist /methods/Javascript" ;
7
+ import { Require } from "../../../ fudge-lib/types/Basic" ;
8
+ import { NumericAlignment , Rect } from "../../../ fudge-lib/types/Gui" ;
9
+ import { getDocumentRelativeRect } from "../../../ fudge-lib/methods/Browser" ;
10
+ import { toNumericAlignment } from "../../../ fudge-lib/methods/Gui" ;
11
+ import { coercePreferMin } from "../../../ fudge-lib/methods/Javascript" ;
12
12
13
13
export function _implExpansion ( props : ExpansionPropsApi ) {
14
14
const manualProps : ManualExpansionProps = isManualApi ( props ) ? props : toManual ( props )
@@ -37,7 +37,6 @@ function ExpansionPortal(props: ExpansionProps) {
37
37
const [ completelyClosed , setCompletelyClosed ] = useState ( false ) ;
38
38
const show = props . show
39
39
40
- // eslint-disable-next-line react-hooks/exhaustive-deps
41
40
const timeoutHandle = useMemo < TimeoutWrapper > ( ( ) => ( { timeout : undefined } ) , [ show ] ) ;
42
41
43
42
useEffect ( ( ) => {
@@ -53,7 +52,6 @@ function ExpansionPortal(props: ExpansionProps) {
53
52
// Existing composition, no need to completely close
54
53
stop ( timeoutHandle ) ;
55
54
} ;
56
- // eslint-disable-next-line react-hooks/exhaustive-deps
57
55
} , [ props . animationDurationMillis , show , completelyClosed ] )
58
56
59
57
// const
@@ -184,7 +182,6 @@ function SizeCalculator({
184
182
185
183
useLayoutEffect ( ( ) => {
186
184
if ( ! calculate ) setCalculate ( true )
187
- // eslint-disable-next-line react-hooks/exhaustive-deps
188
185
} , [ depProps ] )
189
186
190
187
@@ -193,7 +190,6 @@ function SizeCalculator({
193
190
setRect ( getDocumentRelativeRect ( ref . current ) )
194
191
setCalculate ( false ) ;
195
192
}
196
- // eslint-disable-next-line react-hooks/exhaustive-deps
197
193
} , [ depProps , calculate ] )
198
194
199
195
return < Fragment >
0 commit comments