Skip to content

Commit 1701981

Browse files
[FSSDK-10936] tab to space
1 parent 2ada903 commit 1701981

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

lib/utils/import.react_native/@react-native-async-storage/async-storage.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
import type { AsyncStorageStatic } from '@react-native-async-storage/async-storage'
1818

1919
export const getDefaultAsyncStorage = (): AsyncStorageStatic => {
20-
try {
21-
// eslint-disable-next-line @typescript-eslint/no-var-requires
22-
return require('@react-native-async-storage/async-storage').default;
23-
} catch (e) {
24-
// Better error message than unknown module not found
25-
throw new Error('@react-native-async-storage/async-storage is not available');
26-
}
20+
try {
21+
// eslint-disable-next-line @typescript-eslint/no-var-requires
22+
return require('@react-native-async-storage/async-storage').default;
23+
} catch (e) {
24+
// Better error message than unknown module not found
25+
throw new Error('@react-native-async-storage/async-storage is not available');
26+
}
2727
};

0 commit comments

Comments
 (0)