Skip to content

Commit e185fde

Browse files
committed
Fix paths
1 parent de3e8ae commit e185fde

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

packages/scan/src/web/components/inspector/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { isEqual } from '~core/utils';
1414
import { CopyToClipboard } from '~web/components/copy-to-clipboard';
1515
import { Icon } from '~web/components/icon';
1616
import { cn, tryOrElse } from '~web/utils/helpers';
17-
import { constant } from '~web/utils/preact';
17+
import { constant } from '~web/utils/preact/constant';
1818
import { flashManager } from './flash-overlay';
1919
import {
2020
getChangedContext,

packages/scan/src/web/components/widget/toolbar/arrows.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
type InspectableElement,
77
} from '~web/components/inspector/utils';
88
import { cn } from '~web/utils/helpers';
9-
import { constant } from '~web/utils/preact';
9+
import { constant } from '~web/utils/preact/constant';
1010

1111
export const Arrows = constant(() => {
1212
const refButtonPrevious = useRef<HTMLButtonElement>(null);

packages/scan/src/web/components/widget/toolbar/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Icon } from '~web/components/icon';
44
import FpsMeter from '~web/components/widget/fps-meter';
55
import { Arrows } from '~web/components/widget/toolbar/arrows';
66
import { cn } from '~web/utils/helpers';
7-
import { constant } from '~web/utils/preact';
7+
import { constant } from '~web/utils/preact/constant';
88

99
export const Toolbar = constant(() => {
1010
const inspectState = Store.inspectState;

packages/scan/src/web/utils/preact.ts renamed to packages/scan/src/web/utils/preact/constant.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ export function constant<P>(Component: FunctionComponent<P>) {
1616
Memoed._forwarded = true;
1717
return Memoed;
1818
}
19+

0 commit comments

Comments
 (0)