File tree Expand file tree Collapse file tree 4 files changed +4
-3
lines changed
Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import { isEqual } from '~core/utils';
1414import { CopyToClipboard } from '~web/components/copy-to-clipboard' ;
1515import { Icon } from '~web/components/icon' ;
1616import { cn , tryOrElse } from '~web/utils/helpers' ;
17- import { constant } from '~web/utils/preact' ;
17+ import { constant } from '~web/utils/preact/constant ' ;
1818import { flashManager } from './flash-overlay' ;
1919import {
2020 getChangedContext ,
Original file line number Diff line number Diff line change 66 type InspectableElement ,
77} from '~web/components/inspector/utils' ;
88import { cn } from '~web/utils/helpers' ;
9- import { constant } from '~web/utils/preact' ;
9+ import { constant } from '~web/utils/preact/constant ' ;
1010
1111export const Arrows = constant ( ( ) => {
1212 const refButtonPrevious = useRef < HTMLButtonElement > ( null ) ;
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { Icon } from '~web/components/icon';
44import FpsMeter from '~web/components/widget/fps-meter' ;
55import { Arrows } from '~web/components/widget/toolbar/arrows' ;
66import { cn } from '~web/utils/helpers' ;
7- import { constant } from '~web/utils/preact' ;
7+ import { constant } from '~web/utils/preact/constant ' ;
88
99export const Toolbar = constant ( ( ) => {
1010 const inspectState = Store . inspectState ;
Original file line number Diff line number Diff line change @@ -16,3 +16,4 @@ export function constant<P>(Component: FunctionComponent<P>) {
1616 Memoed . _forwarded = true ;
1717 return Memoed ;
1818}
19+
You can’t perform that action at this time.
0 commit comments