I have a doubt about React. I have two functions in
useEffect(() => {
funct1()
funct2()
}
I need funct1() to run before funt2() but func1() is taking longer and I am getting a bad request initially and failing my test cases.
Please help me figure out a solution.