I\'m using useSelector hook to access my state, but getting null error when trying to access the properties of the object, any idea on this please?
const currentState