Need extra check on domain

pull/447/head
Lim Chee Aun 2024-03-06 22:01:13 +08:00
rodzic c005745ad0
commit e7e4f15234
1 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

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