diff --git a/src/components/Rsvp.js b/src/components/Rsvp.js
index 78542163d..545e4f324 100644
--- a/src/components/Rsvp.js
+++ b/src/components/Rsvp.js
@@ -196,13 +196,9 @@ const Rsvp = ({
'You must %s to RSVP to events.',
'gatherpress'
),
-
- {_x(
- 'Login',
- 'Context: You must ~ to RSVP to events.',
- 'gatherpress'
- )}
-
+ `
+ ${_x('Login', 'Context: You must ~ to RSVP to events.', 'gatherpress')}
+ `
)
)}
@@ -215,17 +211,9 @@ const Rsvp = ({
'%s if you do not have an account.',
'gatherpress'
),
-
- {_x(
- 'Register',
- 'Context: ~ if you do not have an account.',
- 'gatherpress'
- )}
-
+ `
+ ${_x('Register', 'Context: ~ if you do not have an account.', 'gatherpress')}
+ `
)
)}