File tree Expand file tree Collapse file tree 2 files changed +13
-8
lines changed
packages/default-storage/example/examples Expand file tree Collapse file tree 2 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -130,8 +130,9 @@ function Functional(): JSX.Element {
130130 }
131131 } )
132132 . then ( async ( ) => {
133- const AsyncStorageTestSupport =
134- TurboModuleRegistry . get ( "AsyncStorageTestSupport" ) ;
133+ const AsyncStorageTestSupport = TurboModuleRegistry . get (
134+ "AsyncStorageTestSupport"
135+ ) ;
135136
136137 for ( const [ currentName , test ] of Object . entries ( tests ) ) {
137138 const name = currentName + " with delegate" ;
Original file line number Diff line number Diff line change @@ -176,22 +176,26 @@ function Merge(): JSX.Element {
176176 testID = "setDelegate_button"
177177 title = "Set native delegate"
178178 disabled = {
179- ! TurboModuleRegistry . get ( 'AsyncStorageTestSupport' ) ?. test_setDelegate
179+ ! TurboModuleRegistry . get ( "AsyncStorageTestSupport" )
180+ ?. test_setDelegate
180181 }
181182 onPress = { ( ) =>
182- TurboModuleRegistry . get ( 'AsyncStorageTestSupport' ) ?. test_setDelegate ( ( ) => { } )
183+ TurboModuleRegistry . get (
184+ "AsyncStorageTestSupport"
185+ ) ?. test_setDelegate ( ( ) => { } )
183186 }
184187 />
185188 < Button
186189 testID = "unsetDelegate_button"
187190 title = "Unset native delegate"
188191 disabled = {
189- ! TurboModuleRegistry . get ( 'AsyncStorageTestSupport' ) ?. test_unsetDelegate
192+ ! TurboModuleRegistry . get ( "AsyncStorageTestSupport" )
193+ ?. test_unsetDelegate
190194 }
191195 onPress = { ( ) =>
192- TurboModuleRegistry . get ( 'AsyncStorageTestSupport' ) ?. test_unsetDelegate (
193- ( ) => { }
194- )
196+ TurboModuleRegistry . get (
197+ "AsyncStorageTestSupport"
198+ ) ?. test_unsetDelegate ( ( ) => { } )
195199 }
196200 />
197201 </ View >
You can’t perform that action at this time.
0 commit comments