From 147edc58b3c4609efb6687e25cac63d656a44e97 Mon Sep 17 00:00:00 2001 From: khaledJabari-90 <60465027+khaledJabari-90@users.noreply.github.com> Date: Mon, 3 Apr 2023 16:41:29 +0300 Subject: [PATCH 1/2] Update ViroSurface.js --- dist/components/ViroSurface.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/components/ViroSurface.js b/dist/components/ViroSurface.js index d381b273..da70e231 100644 --- a/dist/components/ViroSurface.js +++ b/dist/components/ViroSurface.js @@ -96,7 +96,7 @@ class ViroSurface extends ViroBase_1.ViroBase { } } exports.ViroSurface = ViroSurface; -var VRTSurface = (0, react_native_1.requireNativeComponent)("VRTQuad", +var VRTSurface = (0, react_native_1.requireNativeComponent)("VRTSurface", // @ts-ignore ViroSurface, { nativeOnly: { From 6d9f991dcd727f6aa0c111ebfe124670c59f0c4c Mon Sep 17 00:00:00 2001 From: khaledJabari-90 <60465027+khaledJabari-90@users.noreply.github.com> Date: Mon, 3 Apr 2023 16:42:33 +0300 Subject: [PATCH 2/2] Update ViroSurface.tsx --- components/ViroSurface.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ViroSurface.tsx b/components/ViroSurface.tsx index eb699131..0512a302 100644 --- a/components/ViroSurface.tsx +++ b/components/ViroSurface.tsx @@ -96,7 +96,7 @@ export class ViroSurface extends ViroBase { } var VRTSurface = requireNativeComponent( - "VRTQuad", + "VRTSurface", // @ts-ignore ViroSurface, {