Fix Save button not appearing on edit post screen (#7360)
This commit is contained in:
parent
3cad740d67
commit
83e5ca835d
1 changed files with 1 additions and 8 deletions
|
|
@ -79,14 +79,7 @@ const EditPost = ({componentId, maxPostSize, post, closeButtonId, hasFilesAttach
|
|||
const isTablet = useIsTablet();
|
||||
|
||||
useEffect(() => {
|
||||
setButtons(componentId, {
|
||||
rightButtons: [{
|
||||
color: theme.sidebarHeaderTextColor,
|
||||
text: intl.formatMessage({id: 'edit_post.save', defaultMessage: 'Save'}),
|
||||
...RIGHT_BUTTON,
|
||||
enabled: false,
|
||||
}],
|
||||
});
|
||||
toggleSaveButton(false);
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue