diff --git a/frontend/app/components/magic-link-btn/template.hbs b/frontend/app/components/magic-link-btn/template.hbs
index 27fb4b1ba..e5c7a0161 100644
--- a/frontend/app/components/magic-link-btn/template.hbs
+++ b/frontend/app/components/magic-link-btn/template.hbs
@@ -6,8 +6,7 @@
{{on "click" (toggle "isModalVisible" this)}}
>
+ {{#if this.isModalVisible}}
+
+ {{/if}}
-
-{{#if this.isModalVisible}}
-
-{{/if}}