mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix placeholder warning
This commit is contained in:
@@ -128,12 +128,12 @@ const CaptchaModal = () => {
|
||||
<div id="form">
|
||||
{pendingComment.author?.displayName ? (
|
||||
<div>
|
||||
<input id="field" type="text" placeholder={pendingComment.author?.displayName} disabled />
|
||||
<input id="field" type="text" placeholder={pendingComment.author?.displayName || ''} disabled />
|
||||
</div>
|
||||
) : null}
|
||||
{pendingComment.title ? (
|
||||
<div>
|
||||
<input id="field" type="text" placeholder={pendingComment.title} disabled />
|
||||
<input id="field" type="text" placeholder={pendingComment.title || ''} disabled />
|
||||
</div>
|
||||
) : null}
|
||||
{pendingComment.content ? (
|
||||
@@ -148,7 +148,7 @@ const CaptchaModal = () => {
|
||||
) : null}
|
||||
{pendingComment.link ? (
|
||||
<div>
|
||||
<input id="field" type="text" placeholder={pendingComment.link} disabled />
|
||||
<input id="field" type="text" placeholder={pendingComment.link || ''} disabled />
|
||||
</div>
|
||||
) : null}
|
||||
<div id="captcha-container">
|
||||
|
||||
Reference in New Issue
Block a user