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:
parent
d36fdc01d7
commit
76ce5d84f3
|
@ -151,7 +151,7 @@ class InboxNoteCard extends Component {
|
|||
renderDismissButton() {
|
||||
const { clickedActionText } = this.state;
|
||||
|
||||
if ( ! clickedActionText ) {
|
||||
if ( clickedActionText ) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue