mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-16 23:31:19 +03:00
Safeguard deconstruct
This commit is contained in:
parent
91419b3243
commit
5461b06130
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue