Skip to content

Commit

Permalink
fix(app-page-builder): use named export of RichVariableInput
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel910 committed Apr 3, 2024
1 parent bebdc62 commit 58245cd
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ interface RichVariableInputProps {
variableId: string;
}

const RichVariableInput = makeDecoratable(
export const RichVariableInput = makeDecoratable(
"RichVariableInput",
({ variableId }: RichVariableInputProps) => {
const [element] = useActiveElement();
Expand Down Expand Up @@ -135,5 +135,3 @@ const RichVariableInput = makeDecoratable(
);
}
);

export default RichVariableInput;
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import { set } from "dot-prop-immutable";
import { PbEditorPageElementVariableRendererPlugin } from "~/types";
import RichVariableInput from "~/editor/plugins/elementSettings/variable/RichVariableInput";
import { RichVariableInput } from "~/editor/plugins/elementSettings/variable/RichVariableInput";
import { useElementVariables } from "~/editor/hooks/useElementVariableValue";
import { CompositionScope } from "@webiny/react-composition";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import { set } from "dot-prop-immutable";
import { PbEditorPageElementVariableRendererPlugin } from "~/types";
import RichVariableInput from "~/editor/plugins/elementSettings/variable/RichVariableInput";
import { RichVariableInput } from "~/editor/plugins/elementSettings/variable/RichVariableInput";
import { useElementVariables } from "~/editor/hooks/useElementVariableValue";

export default {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import { set } from "dot-prop-immutable";
import { PbEditorPageElementVariableRendererPlugin } from "~/types";
import RichVariableInput from "~/editor/plugins/elementSettings/variable/RichVariableInput";
import { RichVariableInput } from "~/editor/plugins/elementSettings/variable/RichVariableInput";
import { useElementVariables } from "~/editor/hooks/useElementVariableValue";
import { CompositionScope } from "@webiny/react-composition";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import { set } from "dot-prop-immutable";
import { PbEditorPageElementVariableRendererPlugin } from "~/types";
import RichVariableInput from "~/editor/plugins/elementSettings/variable/RichVariableInput";
import { RichVariableInput } from "~/editor/plugins/elementSettings/variable/RichVariableInput";
import { useElementVariables } from "~/editor/hooks/useElementVariableValue";

export default {
Expand Down

0 comments on commit 58245cd

Please sign in to comment.