| 
				
			 | 
			
			
				@@ -18,7 +18,7 @@ const CanvasRendering = ({ onDrawn }) => { 
			 | 
		
	
		
			
			| 
				18
			 | 
			
				18
			 | 
			
			
				     ctx.fillRect(120, 30, 60, 60); 
			 | 
		
	
		
			
			| 
				19
			 | 
			
				19
			 | 
			
			
				     ctx.fillStyle = 'blue'; 
			 | 
		
	
		
			
			| 
				20
			 | 
			
				20
			 | 
			
			
				     ctx.fillRect(140, 50, 60, 60); 
			 | 
		
	
		
			
			| 
				21
			 | 
			
				
			 | 
			
			
				-    const timeout = setTimeout(onDrawn, 500); // hack. react-native-canvas have no way to tell when it's executed 
			 | 
		
	
		
			
			| 
				
			 | 
			
				21
			 | 
			
			
				+    const timeout = setTimeout(onDrawn, 1000); // hack. react-native-canvas have no way to tell when it's executed 
			 | 
		
	
		
			
			| 
				22
			 | 
			
				22
			 | 
			
			
				     return () => clearTimeout(timeout); 
			 | 
		
	
		
			
			| 
				23
			 | 
			
				23
			 | 
			
			
				   }, []); 
			 | 
		
	
		
			
			| 
				24
			 | 
			
				24
			 | 
			
			
				   return <Canvas ref={ref} style={dimension} />; 
			 |