When the action is called like this.props.getCurrentProfile() I'm getting this is not a function. But I've used this syntax before and In the same application but I'm not any error on those. I don't how I'm getting same error on new component when I call action.
enter image description here This is my component where I'm getting error. But I'm every component where I call this.props.xxx();
enter image description here this is my action file
enter image description here this is the error I'm getting.