fix(poly): Check we are working with Poly from code-storage (#16582)
* fix(poly): Check we are working with Poly from code-storage * fix(backend): Do not show complettion modal for a backend challenge * fix(backend): Remove unused action
This commit is contained in:
committed by
Quincy Larson
parent
21bd1b4207
commit
f9ac50103f
@@ -216,7 +216,10 @@ export const isCodeLockedSelector = state => getNS(state).isCodeLocked;
|
||||
export const isJSEnabledSelector = state => getNS(state).isJSEnabled;
|
||||
export const chatRoomSelector = state => getNS(state).helpChatRoom;
|
||||
export const challengeModalSelector =
|
||||
state => getNS(state).isChallengeModalOpen;
|
||||
state => (
|
||||
getNS(state).isChallengeModalOpen &&
|
||||
challengeSelector(state).type !== 'backend'
|
||||
);
|
||||
|
||||
export const bugModalSelector = state => getNS(state).isBugOpen;
|
||||
export const helpModalSelector = state => getNS(state).isHelpOpen;
|
||||
|
Reference in New Issue
Block a user