File tree Expand file tree Collapse file tree 1 file changed +11
-13
lines changed
src/app/content/highlights/components Expand file tree Collapse file tree 1 file changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -75,20 +75,18 @@ function LoginOrEdit({
75
75
aria-label = { formatMessage ( { id : 'i18n:highlighter:edit-note:label' } ) }
76
76
>
77
77
{
78
- ( authenticated || props . shouldFocusCard || props . data ?. annotation ) ?
79
- < form
80
- ref = { mergeRefs ( fref , element ) }
81
- data-analytics-region = 'edit-note'
82
- data-highlight-card
83
- >
84
- { authenticated ? (
85
- < ActiveEditCard props = { props } element = { element }
86
- />
87
- ) : (
88
- < LoginConfirmation onBlur = { props . onBlur } />
89
- ) }
90
- </ form > :
78
+ authenticated ? (
79
+ ( props . shouldFocusCard || props . data ?. annotation ) ? (
80
+ < form
81
+ ref = { mergeRefs ( fref , element ) }
82
+ data-analytics-region = 'edit-note'
83
+ data-highlight-card
84
+ >
85
+ < ActiveEditCard props = { props } element = { element } />
86
+ </ form >
87
+ ) :
91
88
< i > Press Enter or double-click highlight to edit highlight</ i >
89
+ ) : < LoginConfirmation onBlur = { props . onBlur } />
92
90
}
93
91
</ div >
94
92
) ;
You can’t perform that action at this time.
0 commit comments