Only show compose button when logged in

This commit is contained in:
Lim Chee Aun 2023-05-07 22:19:19 +08:00
parent dafcccf093
commit 4aeaeb229c

View file

@ -266,6 +266,7 @@ function App() {
</Routes>
)}
<div>
{isLoggedIn && (
<button
type="button"
id="compose-button"
@ -283,6 +284,7 @@ function App() {
>
<Icon icon="quill" size="xl" alt="Compose" />
</button>
)}
{isLoggedIn &&
!snapStates.settings.shortcutsColumnsMode &&
snapStates.settings.shortcutsViewMode !== 'multi-column' && (