From 94531f76d470189c50e679c671ff5430d18a88ba Mon Sep 17 00:00:00 2001 From: Robert Speicher Date: Fri, 31 Aug 2018 18:28:29 -0700 Subject: Correct remaining `Lint/UselessAssignment` haml-lint violations --- app/views/snippets/notes/_actions.html.haml | 1 - 1 file changed, 1 deletion(-) (limited to 'app/views/snippets/notes') diff --git a/app/views/snippets/notes/_actions.html.haml b/app/views/snippets/notes/_actions.html.haml index e1f7ee80ebb..220ba2b49e6 100644 --- a/app/views/snippets/notes/_actions.html.haml +++ b/app/views/snippets/notes/_actions.html.haml @@ -1,6 +1,5 @@ - if current_user - if note.emoji_awardable? - - user_authored = note.user_authored?(current_user) .note-actions-item = link_to '#', title: 'Add reaction', class: "note-action-button note-emoji-button js-add-award js-note-emoji has-tooltip", data: { position: 'right' } do = icon('spinner spin') -- cgit v1.2.1