Hi
+ > + ); +} diff --git a/apps/client/src/widgets/react/Modal.tsx b/apps/client/src/widgets/react/Modal.tsx index 362d3ab38..02aeedd9b 100644 --- a/apps/client/src/widgets/react/Modal.tsx +++ b/apps/client/src/widgets/react/Modal.tsx @@ -3,7 +3,7 @@ import { t } from "../../services/i18n"; import { ComponentChildren } from "preact"; import type { CSSProperties, RefObject } from "preact/compat"; import { openDialog } from "../../services/dialog"; -import { ParentComponent } from "./ReactBasicWidget"; +import { ParentComponent } from "./react_utils"; import { Modal as BootstrapModal } from "bootstrap"; import { memo } from "preact/compat"; diff --git a/apps/client/src/widgets/react/ReactBasicWidget.tsx b/apps/client/src/widgets/react/ReactBasicWidget.tsx index b813be3bd..744d06736 100644 --- a/apps/client/src/widgets/react/ReactBasicWidget.tsx +++ b/apps/client/src/widgets/react/ReactBasicWidget.tsx @@ -1,9 +1,6 @@ -import { createContext, JSX, render } from "preact"; +import { JSX } from "preact"; import BasicWidget from "../basic_widget.js"; -import Component from "../../components/component.js"; - -export const ParentComponent = createContext