mirror of
				https://github.com/tooot-app/app
				synced 2025-06-05 22:19:13 +02:00 
			
		
		
		
	Not using React 18 yet
https://stackoverflow.com/questions/71831601/ts2786-component-cannot-be-used-as-a-jsx-component
This commit is contained in:
		| @@ -124,6 +124,10 @@ | ||||
|     "react-native-clean-project": "4.0.1", | ||||
|     "typescript": "4.6.3" | ||||
|   }, | ||||
|   "resolutions": { | ||||
|     "@types/react": "17.0.43", | ||||
|     "@types/react-dom": "17.0.14" | ||||
|   }, | ||||
|   "expo": { | ||||
|     "autolinking": { | ||||
|       "ios": { | ||||
|   | ||||
							
								
								
									
										11
									
								
								yarn.lock
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								yarn.lock
									
									
									
									
									
								
							| @@ -2536,7 +2536,7 @@ | ||||
|   dependencies: | ||||
|     "@types/react" "*" | ||||
|  | ||||
| "@types/react@*", "@types/react@17.0.43": | ||||
| "@types/react@*", "@types/react@16 || 17 || 18", "@types/react@17.0.43": | ||||
|   version "17.0.43" | ||||
|   resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.43.tgz#4adc142887dd4a2601ce730bc56c3436fdb07a55" | ||||
|   integrity sha512-8Q+LNpdxf057brvPu1lMtC5Vn7J119xrP1aq4qiaefNioQUYANF/CYeK4NsKorSZyUGJ66g0IM+4bbjwx45o2A== | ||||
| @@ -2545,15 +2545,6 @@ | ||||
|     "@types/scheduler" "*" | ||||
|     csstype "^3.0.2" | ||||
|  | ||||
| "@types/react@16 || 17 || 18": | ||||
|   version "18.0.9" | ||||
|   resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.9.tgz#d6712a38bd6cd83469603e7359511126f122e878" | ||||
|   integrity sha512-9bjbg1hJHUm4De19L1cHiW0Jvx3geel6Qczhjd0qY5VKVE2X5+x77YxAepuCwVh4vrgZJdgEJw48zrhRIeF4Nw== | ||||
|   dependencies: | ||||
|     "@types/prop-types" "*" | ||||
|     "@types/scheduler" "*" | ||||
|     csstype "^3.0.2" | ||||
|  | ||||
| "@types/scheduler@*": | ||||
|   version "0.16.2" | ||||
|   resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.2.tgz#1a62f89525723dde24ba1b01b092bf5df8ad4d39" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user