fix styling

This commit is contained in:
Tom
2023-05-26 20:54:23 +02:00
parent af3dbb9dcf
commit b1db4f1776
7 changed files with 12 additions and 11 deletions
+2 -2
View File
@@ -225,8 +225,8 @@ const ReplyModal = ({ isOpen, closeModal }) => {
</div>
<div id="form">
<div>
{account.author.displayName ? (
<input id="name" type="text" value={account.author.displayName} ref={nameRef} disabled />
{account.author?.displayName ? (
<input id="name" type="text" value={account.author?.displayName} ref={nameRef} disabled />
) : (
<input id="name" type="text" placeholder="Anonymous" ref={nameRef} />
)}