{#if $store === null} {:else if $store.twoFA === true && $store.isVerified === false}

{:else} {#if appState.includes(APPSTATE.CHANNELS)}
setAppState(APPSTATE.CHANNELS)} on:keydown={() => setAppState(APPSTATE.CHANNELS)} >
{/if} {#if appState === APPSTATE.LEADERBOARD}
{/if} {#if appState === APPSTATE.FRIENDS}
{/if} {#if appState === APPSTATE.HISTORY}
{/if} {#if appState === APPSTATE.HISTORY_ID}
setAppState(APPSTATE.PROFILE)} on:keydown={() => setAppState(APPSTATE.PROFILE)} >
{/if} {#if appState === APPSTATE.PROFILE}
setAppState(APPSTATE.HISTORY_ID)} />
{/if} {#if appState === APPSTATE.PROFILE_ID}
setAppState(APPSTATE.CHANNELS + "#" + selectedChannel.name)} on:keydown={() => setAppState(APPSTATE.CHANNELS + "#" + selectedChannel.name)} > setAppState(APPSTATE.HISTORY_ID)} />
{/if} {#if fakemenu} {:else} {/if} {/if}