pull/228/head
Lim Chee Aun 2023-09-16 14:47:55 +08:00
rodzic 7d28744234
commit 908efb17ff
1 zmienionych plików z 4 dodań i 8 usunięć

Wyświetl plik

@ -1056,10 +1056,8 @@ function RelatedActions({ info, instance, authenticated, standalone }) {
{!!showTranslatedBio && ( {!!showTranslatedBio && (
<Modal <Modal
class="light" class="light"
onClick={(e) => { onClose={() => {
if (e.target === e.currentTarget) { setShowTranslatedBio(false);
setShowTranslatedBio(false);
}
}} }}
> >
<TranslatedBioSheet <TranslatedBioSheet
@ -1072,10 +1070,8 @@ function RelatedActions({ info, instance, authenticated, standalone }) {
{!!showAddRemoveLists && ( {!!showAddRemoveLists && (
<Modal <Modal
class="light" class="light"
onClick={(e) => { onClose={() => {
if (e.target === e.currentTarget) { setShowAddRemoveLists(false);
setShowAddRemoveLists(false);
}
}} }}
> >
<AddRemoveListsSheet <AddRemoveListsSheet