Johnathan
Johnathan
update react-scripts to latest version i.e ^5.0.0 version and follow Officail Documentation/Guide-> https://tailwindcss.com/docs/guides/create-react-app
Here Check inside news.jsx I passed -> const {data:cryptoNews} = useGetCryptoNewsQuery({type:'CryptoCurrency',count:10}) and inside cryptoNewsApi query builder I did -> query: (category) => createRequest(`/search?q=${category.type}&safeSearch=Off&textFormat=Raw&freshness=Day&count=${category.count}`); ### Passed whole object with props from...
Instead of Switch import {Routes,Route,Navigation} from 'react-router-dom'; Route exact path="/" element={}/>
any updates or how you resolved it ??