From 6923b334cb54141884d3c029a9511bc04a866525 Mon Sep 17 00:00:00 2001 From: Fufeck Date: Wed, 2 Aug 2023 10:05:38 +0400 Subject: [PATCH] correct error console props status component publication --- components/sub-header/bal-status/publication.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/sub-header/bal-status/publication.js b/components/sub-header/bal-status/publication.js index cebe024d0..5ca55e96a 100644 --- a/components/sub-header/bal-status/publication.js +++ b/components/sub-header/bal-status/publication.js @@ -43,7 +43,7 @@ function Publication({status, handleBackToDraft, onPublish}) { Publication.propTypes = { status: PropTypes.oneOf([ - 'draft', 'ready-to-publish', 'published' + 'draft', 'ready-to-publish', 'published', 'replaced' ]).isRequired, handleBackToDraft: PropTypes.func.isRequired, onPublish: PropTypes.func.isRequired