Typescript useReducer error solved when adding new state
So, this is just for my reference. previously I had this code.
import { useEffect, useReducer } from "react";
import { questionsApi } from "../constants";
import { Loader } from "../components/Loader";
import { Error } from "../components/Error";
imp...
aniketicloud.hashnode.dev4 min read