Skip to content

Commit 66e0c92

Browse files
committed
run yarn format
1 parent dabd92a commit 66e0c92

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

packages/default-storage/example/examples/Functional.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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";

packages/default-storage/example/examples/MergeItem.tsx

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff 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>

0 commit comments

Comments
 (0)