fix: note creator

This commit is contained in:
2024-09-24 09:42:32 +01:00
parent 5a8bbdc60b
commit b73fcca239

View File

@ -129,9 +129,9 @@ export default function NavSidebar({ narrow = false }: { narrow?: boolean }) {
</NavLink>
);
})}
{publicKey ? (
{publicKey && !readonly ? (
<div className="mt-2">
<NoteCreatorButton alwaysShow={true} showText={!narrow} withModal={false} />
<NoteCreatorButton alwaysShow={false} showText={!narrow} withModal={true} />
</div>
) : (
<div className="mt-2">