Fix incorrect imports
This commit is contained in:
parent
e40b65b975
commit
3c20332912
2 changed files with 2 additions and 2 deletions
|
@ -95,7 +95,7 @@ function UserSignUp(props: Props) {
|
||||||
hasYoutubeChannels &&
|
hasYoutubeChannels &&
|
||||||
youtubeChannels.every(
|
youtubeChannels.every(
|
||||||
(channel) =>
|
(channel) =>
|
||||||
channel.transfer_state === YOUTUBE_STATUSES.COMPLETED_TRANSFER ||
|
channel.transfer_state === YOUTUBE_STATUSES.YOUTUBE_SYNC_COMPLETED_TRANSFER ||
|
||||||
channel.sync_status === YOUTUBE_STATUSES.YOUTUBE_SYNC_ABANDONDED
|
channel.sync_status === YOUTUBE_STATUSES.YOUTUBE_SYNC_ABANDONDED
|
||||||
);
|
);
|
||||||
// Complexity warning
|
// Complexity warning
|
||||||
|
|
|
@ -140,7 +140,7 @@ reducers[ACTIONS.FILE_DELETE] = (state, action) => {
|
||||||
|
|
||||||
reducers[ACTIONS.SET_FILE_LIST_SORT] = (state, action) => {
|
reducers[ACTIONS.SET_FILE_LIST_SORT] = (state, action) => {
|
||||||
const pageSortStates = {
|
const pageSortStates = {
|
||||||
[PAGES.PUBLISHED]: 'fileListPublishedSort',
|
[PAGES.DEPRECATED__PUBLISH]: 'fileListPublishedSort',
|
||||||
[PAGES.DOWNLOADED]: 'fileListDownloadedSort',
|
[PAGES.DOWNLOADED]: 'fileListDownloadedSort',
|
||||||
};
|
};
|
||||||
const pageSortState = pageSortStates[action.data.page];
|
const pageSortState = pageSortStates[action.data.page];
|
||||||
|
|
Loading…
Reference in a new issue