pl-fe: more renyames

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2025-10-29 01:20:47 +01:00
parent 9920cb4129
commit 7687ea7b87
11 changed files with 45 additions and 45 deletions

View File

@ -64,7 +64,7 @@ const ModalRoot: React.FC<IModalRoot> = ({ children, onCancel, onClose, type })
const hasComposeContent = checkComposeContent(compose);
if (hasComposeContent && type === 'COMPOSE') {
const isEditing = compose!.id !== null;
const isEditing = compose!.editedId !== null;
openModal('CONFIRM', {
heading: isEditing
? <FormattedMessage id='confirmations.cancel_editing.heading' defaultMessage='Cancel post editing' />