Fix logic error that was stopping dismiss link from appearing on the inbox cards (https://github.com/woocommerce/woocommerce-admin/pull/4624)

Co-authored-by: Rebecca Scott <me@becdetat.com>
This commit is contained in:
Bec Scott 2020-06-18 14:00:27 +10:00 committed by GitHub
parent d36fdc01d7
commit 76ce5d84f3
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ class InboxNoteCard extends Component {
renderDismissButton() {
const { clickedActionText } = this.state;
if ( ! clickedActionText ) {
if ( clickedActionText ) {
return null;
}