mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Attempt to fix #644
This commit is contained in:
@ -0,0 +1,14 @@
|
||||
diff --git a/src/functions/Helpers.ts b/src/functions/Helpers.ts
|
||||
index e04486540494891ab07ec130b686dc4acddf2d0c..265e6ac11439276a1c52c222dfc4c50daf1689ae 100644
|
||||
--- a/src/functions/Helpers.ts
|
||||
+++ b/src/functions/Helpers.ts
|
||||
@@ -77,7 +77,8 @@ export function getNativeNodeHandle(nativeRef: React.Component){
|
||||
const nodeHandle = findNodeHandle(nativeRef);
|
||||
|
||||
if(nodeHandle == null){
|
||||
- throw new Error('Unable to get the node handle for the native ref.');
|
||||
+ return 0
|
||||
+ // throw new Error('Unable to get the node handle for the native ref.');
|
||||
};
|
||||
|
||||
return nodeHandle;
|
Reference in New Issue
Block a user