Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
kneth committed Apr 16, 2024
1 parent b4b92ba commit 4bd8a05
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/realm/src/platform/react-native/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ import "./fs";
import "./device-info";
import "./sync-proxy-config";

import { Realm } from "../../Realm";
import { binding } from "../binding";

// Clear the internal state to prevent crashes when reloading the app
binding.RealmCoordinator.clearAllCaches();
binding.App.clearCachedApps();

import { Realm } from "../../Realm";
export = Realm;

0 comments on commit 4bd8a05

Please sign in to comment.