hide signup promo when logged in
This commit is contained in:
parent
85185d048c
commit
00550872d7
2 changed files with 6 additions and 14 deletions
|
@ -1,6 +1,9 @@
|
|||
const html = require('choo/html');
|
||||
|
||||
module.exports = function(state) {
|
||||
if (state.user.loggedIn) {
|
||||
return null;
|
||||
}
|
||||
return html`
|
||||
<div class="signupPromo">
|
||||
<div class="signupPromo__title">${state.translate('signInPromoText')}</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue