kopia lustrzana https://github.com/cheeaun/phanpy
Safeguard deconstruct
rodzic
91419b3243
commit
5461b06130
|
@ -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;
|
||||||
|
|
Ładowanie…
Reference in New Issue