Skip to content

Commit

Permalink
Merge pull request #2120 from daostack/bugfix/CW-2037-stream-content-…
Browse files Browse the repository at this point in the history
…editing

Editing stream content requires a refresh to update #2037
  • Loading branch information
andreymikhadyuk authored Sep 26, 2023
2 parents 0baefe6 + f727e74 commit dcc66b6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { CommonLink } from "@/shared/models";
import {
checkIsTextEditorValueEmpty,
parseStringToTextEditorValue,
TextEditor,
ImageGallery,
TextEditorWithReinitialization,
} from "@/shared/ui-kit";
import styles from "./FeedGeneralInfo.module.scss";

Expand Down Expand Up @@ -43,7 +43,7 @@ export const FeedGeneralInfo: React.FC<FeedGeneralInfoProps> = (props) => {
<p className={classNames(styles.text, styles.subtitle)}>{subtitle}</p>
)}
{!isDescriptionEmpty && (
<TextEditor
<TextEditorWithReinitialization
editorRef={setDescriptionRef}
editorClassName={classNames(styles.description, {
[styles.descriptionShortened]: !shouldShowFullContent,
Expand Down

0 comments on commit dcc66b6

Please sign in to comment.