Sometimes, a bracket makes a huge difference

This commit is contained in:
Lim Chee Aun 2023-03-31 19:21:27 +08:00
parent 49301ae965
commit 45c872df28

View file

@ -653,7 +653,8 @@ function StatusPage() {
enableTranslate
/>
</InView>
{uiState !== 'loading' && !authenticated ? (
{uiState !== 'loading' &&
(!authenticated ? (
<div class="post-status-banner">
<p>
You're not logged in. Interactions (reply, boost,
@ -703,12 +704,12 @@ function StatusPage() {
})();
}}
>
<Icon icon="transfer" /> Switch to my instance to
enable interactions
<Icon icon="transfer" /> Switch to my instance
to enable interactions
</button>
</div>
)
)}
))}
</>
) : (
<Link