From fc58ce7ed299a353dd885d8ca102af27b7297b48 Mon Sep 17 00:00:00 2001 From: Andy Balaam Date: Wed, 15 Dec 2021 16:54:01 +0000 Subject: [PATCH] Use the moved makePollContent function from js-sdk (#7387) --- src/components/views/elements/PollCreateDialog.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/views/elements/PollCreateDialog.tsx b/src/components/views/elements/PollCreateDialog.tsx index 1f442c93d8..73e552f772 100644 --- a/src/components/views/elements/PollCreateDialog.tsx +++ b/src/components/views/elements/PollCreateDialog.tsx @@ -16,7 +16,8 @@ limitations under the License. import React, { ChangeEvent, createRef } from "react"; import { Room } from "matrix-js-sdk/src/models/room"; -import { makePollContent, POLL_KIND_DISCLOSED, POLL_START_EVENT_TYPE } from "matrix-js-sdk/src/@types/polls"; +import { makePollContent } from "matrix-js-sdk/src/content-helpers"; +import { POLL_KIND_DISCLOSED, POLL_START_EVENT_TYPE } from "matrix-js-sdk/src/@types/polls"; import ScrollableBaseModal, { IScrollableBaseState } from "../dialogs/ScrollableBaseModal"; import { IDialogProps } from "../dialogs/IDialogProps";