undefined object while using useContext This particular things seems happening when i run these codes