fix: restore preview background to white (#36714)

This commit is contained in:
Ahmad Abdolsaheb
2019-08-29 18:45:32 +03:00
committed by GitHub
parent f03147fcc5
commit a59b8636cb
5 changed files with 5 additions and 30 deletions

View File

@@ -15,7 +15,6 @@ import { createIdToNameMapSaga } from './id-to-name-map-saga';
import { createExecuteChallengeSaga } from './execute-challenge-saga';
import { createCurrentChallengeSaga } from './current-challenge-saga';
import { challengeTypes } from '../../../../utils/challengeTypes';
import { userSelector } from '../../../redux';
export const ns = 'challenge';
export const backendNS = 'backendChallenge';
@@ -183,7 +182,6 @@ export const projectFormValuesSelector = state =>
state[ns].projectFormValues || {};
export const challengeDataSelector = state => {
const { theme } = userSelector(state);
const { challengeType } = challengeMetaSelector(state);
let challengeData = { challengeType };
if (
@@ -225,7 +223,6 @@ export const challengeDataSelector = state => {
template
};
}
challengeData.theme = theme;
return challengeData;
};