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">
|
<div id="form">
|
||||||
{pendingComment.author?.displayName ? (
|
{pendingComment.author?.displayName ? (
|
||||||
<div>
|
<div>
|
||||||
<input id="field" type="text" placeholder={pendingComment.author?.displayName} disabled />
|
<input id="field" type="text" placeholder={pendingComment.author?.displayName || ''} disabled />
|
||||||
</div>
|
</div>
|
||||||
) : null}
|
) : null}
|
||||||
{pendingComment.title ? (
|
{pendingComment.title ? (
|
||||||
<div>
|
<div>
|
||||||
<input id="field" type="text" placeholder={pendingComment.title} disabled />
|
<input id="field" type="text" placeholder={pendingComment.title || ''} disabled />
|
||||||
</div>
|
</div>
|
||||||
) : null}
|
) : null}
|
||||||
{pendingComment.content ? (
|
{pendingComment.content ? (
|
||||||
@@ -148,7 +148,7 @@ const CaptchaModal = () => {
|
|||||||
) : null}
|
) : null}
|
||||||
{pendingComment.link ? (
|
{pendingComment.link ? (
|
||||||
<div>
|
<div>
|
||||||
<input id="field" type="text" placeholder={pendingComment.link} disabled />
|
<input id="field" type="text" placeholder={pendingComment.link || ''} disabled />
|
||||||
</div>
|
</div>
|
||||||
) : null}
|
) : null}
|
||||||
<div id="captcha-container">
|
<div id="captcha-container">
|
||||||
|
|||||||
Reference in New Issue
Block a user