Skip to content

Commit

Permalink
renamed component
Browse files Browse the repository at this point in the history
  • Loading branch information
Fatimah committed Nov 11, 2023
1 parent f7effd7 commit 902f7c3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { i18next } from "@translations/invenio_communities/i18next";
import { MembersSearchBar } from "./MemberSearchBar";
import { GroupsApi } from "../../../api/GroupsApi";
import { Trans } from "react-i18next";
import { RichInputField } from "react-invenio-forms";
import { RichEditor } from "react-invenio-forms";

export class GroupTabPane extends Component {
constructor(props) {
Expand Down Expand Up @@ -92,7 +92,7 @@ export class GroupTabPane extends Component {
<Form.Field disabled>
<>
<label>{i18next.t("Message")}</label>
<RichInputField />
<RichEditor />
</>
</Form.Field>
</Form>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { i18next } from "@translations/invenio_communities/i18next";
import { Formik } from "formik";
import _defaultsDeep from "lodash/defaultsDeep";
import React, { Component } from "react";
import { AccordionField, FormEditorField } from "react-invenio-forms";
import { AccordionField, RichInputField } from "react-invenio-forms";
import { Button, Form, Divider, Icon, Message } from "semantic-ui-react";
import { CommunityApi } from "../../api";
import { communityErrorSerializer } from "../../api/serializers";
Expand Down Expand Up @@ -90,7 +90,7 @@ export class CommunityPagesForm extends Component {
label={i18next.t("Curation policy")}
active
>
<FormEditorField
<RichInputField
fieldPath="metadata.curation_policy"
className="ck-height-10"
fluid
Expand All @@ -101,7 +101,7 @@ export class CommunityPagesForm extends Component {
label={i18next.t("About page")}
active
>
<FormEditorField
<RichInputField
fieldPath="metadata.page"
className="ck-height-25"
fluid
Expand Down

0 comments on commit 902f7c3

Please sign in to comment.