mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-25 09:18:51 +01: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
|
<AccountSheet
|
||||||
account={snapStates.showAccount?.account || snapStates.showAccount}
|
account={snapStates.showAccount?.account || snapStates.showAccount}
|
||||||
instance={snapStates.showAccount?.instance}
|
instance={snapStates.showAccount?.instance}
|
||||||
onClose={({ destination }) => {
|
onClose={({ destination } = {}) => {
|
||||||
states.showAccount = false;
|
states.showAccount = false;
|
||||||
if (destination) {
|
if (destination) {
|
||||||
states.showAccounts = false;
|
states.showAccounts = false;
|
||||||
|
|
Loading…
Reference in a new issue