Need extra check on domain

This commit is contained in:
Lim Chee Aun 2024-03-06 22:01:13 +08:00
parent c005745ad0
commit e7e4f15234

View file

@ -232,8 +232,8 @@ function ReportModal({ account, post, onClose }) {
disabled={uiState === 'loading'}
/>
</section>
{!!domain && domain !== currentDomain && (
<section>
{domain !== currentDomain && (
<p>
<label>
<input
@ -247,8 +247,8 @@ function ReportModal({ account, post, onClose }) {
</span>
</label>
</p>
)}
</section>
)}
<footer>
<button type="submit" disabled={uiState === 'loading'}>
Send Report