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