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 }) {
9999 } )
100100 . finally ( ( ) => {
101101 setMountInProgress ( false ) ;
102- navigate ( ".." ) ;
103102 } ) ;
104103 } ) ;
105104 }
@@ -114,7 +113,7 @@ export function Dialog({ onClose }: { onClose: () => void }) {
114113 clearMountMediaState ( ) ;
115114 syncRemoteVirtualMediaState ( )
116115 . then ( ( ) => {
117- false ;
116+ navigate ( ".." ) ;
118117 } )
119118 . catch ( err => {
120119 triggerError ( err instanceof Error ? err . message : String ( err ) ) ;
@@ -124,7 +123,6 @@ export function Dialog({ onClose }: { onClose: () => void }) {
124123 // and the modal exit animation for like 500ms
125124 setTimeout ( ( ) => {
126125 setMountInProgress ( false ) ;
127- navigate ( ".." ) ;
128126 } , 500 ) ;
129127 } ) ;
130128 } ) ;
@@ -155,7 +153,6 @@ export function Dialog({ onClose }: { onClose: () => void }) {
155153 } )
156154 . finally ( ( ) => {
157155 setMountInProgress ( false ) ;
158- navigate ( ".." ) ;
159156 } ) ;
160157 } ,
161158 ) ;
You can’t perform that action at this time.
0 commit comments