Skip to content

Commit

Permalink
Update NativeMmkvPlatformContext.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy committed Sep 10, 2024
1 parent eed7da4 commit f7e589c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package/src/NativeMmkvPlatformContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ export function getMMKVPlatformContextTurboModule(): Spec {
try {
if (mmkvPlatformModule == null) {
// 1. Get the TurboModule
mmkvPlatformModule = TurboModuleRegistry.getEnforcing<Spec>('MmkvPlatformContext');
mmkvPlatformModule = TurboModuleRegistry.getEnforcing<Spec>(
'MmkvPlatformContext'
);
}
return mmkvPlatformModule;
} catch (e) {
Expand Down

0 comments on commit f7e589c

Please sign in to comment.