File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,6 @@ export function Dialog({ onClose }: { onClose: () => void }) {
99
99
} )
100
100
. finally ( ( ) => {
101
101
setMountInProgress ( false ) ;
102
- navigate ( ".." ) ;
103
102
} ) ;
104
103
} ) ;
105
104
}
@@ -114,7 +113,7 @@ export function Dialog({ onClose }: { onClose: () => void }) {
114
113
clearMountMediaState ( ) ;
115
114
syncRemoteVirtualMediaState ( )
116
115
. then ( ( ) => {
117
- false ;
116
+ navigate ( ".." ) ;
118
117
} )
119
118
. catch ( err => {
120
119
triggerError ( err instanceof Error ? err . message : String ( err ) ) ;
@@ -124,7 +123,6 @@ export function Dialog({ onClose }: { onClose: () => void }) {
124
123
// and the modal exit animation for like 500ms
125
124
setTimeout ( ( ) => {
126
125
setMountInProgress ( false ) ;
127
- navigate ( ".." ) ;
128
126
} , 500 ) ;
129
127
} ) ;
130
128
} ) ;
@@ -155,7 +153,6 @@ export function Dialog({ onClose }: { onClose: () => void }) {
155
153
} )
156
154
. finally ( ( ) => {
157
155
setMountInProgress ( false ) ;
158
- navigate ( ".." ) ;
159
156
} ) ;
160
157
} ,
161
158
) ;
You can’t perform that action at this time.
0 commit comments