Fix incorrect imports

This commit is contained in:
David Granado 2022-03-25 21:33:32 -05:00 committed by Thomas Zarebczan
parent e40b65b975
commit 3c20332912
2 changed files with 2 additions and 2 deletions

View file

@ -95,7 +95,7 @@ function UserSignUp(props: Props) {
hasYoutubeChannels &&
youtubeChannels.every(
(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
);
// Complexity warning

View file

@ -140,7 +140,7 @@ reducers[ACTIONS.FILE_DELETE] = (state, action) => {
reducers[ACTIONS.SET_FILE_LIST_SORT] = (state, action) => {
const pageSortStates = {
[PAGES.PUBLISHED]: 'fileListPublishedSort',
[PAGES.DEPRECATED__PUBLISH]: 'fileListPublishedSort',
[PAGES.DOWNLOADED]: 'fileListDownloadedSort',
};
const pageSortState = pageSortStates[action.data.page];