Skip to content
This repository has been archived by the owner on Oct 4, 2022. It is now read-only.

Commit

Permalink
Update packages/schema-blocks/src/functions/presenters/BlockSuggestio…
Browse files Browse the repository at this point in the history
…nsPresenter.tsx

Co-authored-by: Hans-Christiaan Braun <hans-christiaan@yoast.com>
  • Loading branch information
increddibelly and hansjovis committed May 6, 2021
1 parent 8db91db commit 318b5a3
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,9 @@ function BlockSuggestionAdded( { blockTitle, isValid }: BlockSuggestionAddedDto
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={ 2.5 } d="M5 13l4 4L19 7" />
</svg>;

let checkmark: JSX.Element;
let checkmark: JSX.Element = null;
if ( isValid ) {
checkmark = ( <span className="yoast-block-suggestion-checkmark">{ heroIconCheck }</span> );
} else {
checkmark = null;
}

return (
Expand Down

0 comments on commit 318b5a3

Please sign in to comment.