Skip to content

Commit 43b2054

Browse files
committed
Update FilamentProxy.ts
1 parent b239845 commit 43b2054

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package/src/FilamentProxy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { FilamentViewNativeComponent } from './FilamentViewNativeComponent'
1+
import { FilamentView } from './FilamentViewNativeComponent'
22

33
export interface TFilamentProxy {
44
/**
@@ -20,7 +20,7 @@ if (global.nativeCallSyncHook == null) {
2020
// In Bridge architecture there was a separate Module and View, but now it's all a View - how do I add static methods on that?
2121
// Maybe we need to create a separate FilamentModule as well (in addition to the FilamentView).
2222
// @ts-expect-error
23-
const successful = FilamentViewNativeComponent.install()
23+
const successful = FilamentView.install()
2424
if (!successful) {
2525
throw new Error('Failed to initialize react-native-filament! Check the native logs (adb logcat or Xcode logs) for more information.')
2626
}

0 commit comments

Comments
 (0)