diff --git a/js/src/forum/components/oauth/AuthorizePage.tsx b/js/src/forum/components/oauth/AuthorizePage.tsx index a6f6e48..159c267 100644 --- a/js/src/forum/components/oauth/AuthorizePage.tsx +++ b/js/src/forum/components/oauth/AuthorizePage.tsx @@ -108,7 +108,7 @@ export default class AuthorizePage extends IndexPage { view() { if (!app.session.user) { - return {app.translator.trans("rhodes-island-oauth-center.forum.authorize.not_logged_in")}; + return ; } if (this.loading) { return ; diff --git a/js/src/forum/components/user/AuthorizedPage.tsx b/js/src/forum/components/user/AuthorizedPage.tsx index 8b82693..90a757f 100644 --- a/js/src/forum/components/user/AuthorizedPage.tsx +++ b/js/src/forum/components/user/AuthorizedPage.tsx @@ -37,7 +37,7 @@ export default class AuthorizedPage extends UserPage { content() { if (this.records.length == 0) { - return {app.translator.trans('rhodes-island-oauth-center.forum.authorized.no_records')}; + return ; } return (