Safeguard deconstruct

pull/223/head
Lim Chee Aun 2023-08-30 17:47:17 +08:00
rodzic 91419b3243
commit 5461b06130
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -390,7 +390,7 @@ function App() {
<AccountSheet
account={snapStates.showAccount?.account || snapStates.showAccount}
instance={snapStates.showAccount?.instance}
onClose={({ destination }) => {
onClose={({ destination } = {}) => {
states.showAccount = false;
if (destination) {
states.showAccounts = false;