-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changed getPageConfig and getUser redux actions to fetch... to match the API #516
Changed getPageConfig and getUser redux actions to fetch... to match the API #516
Conversation
Pull Request Test Coverage Report for Build 1923
💛 - Coveralls |
I enabled |
import { shouldFetchData } from '../../helpers/redux'; | ||
import * as actions from '../../action-creators/page'; | ||
import { getPageConfigById } from '../../selectors/page'; | ||
import { fetchPageConfig } from './fetchPageConfig'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fetchPageConfig
has no named import fetchPageConfig. You need import it as default
import * as pipelines from '../../constants/Pipelines'; | ||
import * as actions from '../../action-creators/user'; | ||
import { isUserLoggedIn } from '../../selectors/user'; | ||
import { fetchUser } from './fetchUser'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fetchUser
has no named import fetchUser . You need import it as default
Description
Those two functions haven't been renamed and were now changed to the new naming convention to match the API.
Type of change
Please add an "x" into the option that is relevant: