Commit 79be98b0 authored by Robert Knight's avatar Robert Knight

Adjust condition ordering

As noted in PR review, checking for a valid annotation first seems more
sensible.
parent 93700b5e
......@@ -105,7 +105,7 @@ function Annotation({
/>
)}
{isSaving && <div className="Annotation__actions">Saving...</div>}
{showActions && annotation && (
{annotation && showActions && (
<div className="u-layout-row--justify-right u-stretch">
<AnnotationActionBar
annotation={annotation}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment