File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -24,20 +24,14 @@ const useBottomSheet = () => {
2424
2525const showSheet = ( component , options : VueBottomSheetOptions ) =>
2626 new Promise ( ( resolve : any ) => {
27- let resolved = false ;
27+ const resolved = false ;
2828
2929 const listeners = Object . entries ( options . on ?? { } ) . reduce ( ( listeners , [ key , value ] ) => {
3030 listeners [ 'on' + key . charAt ( 0 ) . toUpperCase ( ) + key . slice ( 1 ) ] = value ;
3131 return listeners ;
3232 } , { } ) ;
3333
34- let navEntryInstance = createNativeView (
35- component ,
36- Object . assign (
37- options . props ?? { } ,
38- listeners
39- )
40- ) ;
34+ const navEntryInstance = createNativeView ( component , Object . assign ( options . props ?? { } , listeners ) ) ;
4135 navEntryInstance . mount ( ) ;
4236
4337 const viewAttached = ( options . view as View ) ?? Frame . topmost ( ) . currentPage ;
You can’t perform that action at this time.
0 commit comments