mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix styling
This commit is contained in:
@@ -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} />
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user