([])
+ const userContext = useContext(UserDataContext);
+ //FIX the loop
+
+ useEffect(() => {
+ console.log(userContext?.userData)
+ if (userContext?.userData) {
+ setIsLoading(false)
+ }
+ }, [userContext]);
+
+ if (isLoading || !userContext?.userData) {
+ return (
+
Cryptos in your wallet
+
+ )
+ }
+
+ return (<>
+
+ Cryptos in your wallet
+
+
+ >)
+}
\ No newline at end of file