We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 156e3a3 commit 7dcb157Copy full SHA for 7dcb157
src/pages/playground/Playground.tsx
@@ -763,7 +763,7 @@ const Playground: React.FC<PlaygroundProps> = props => {
763
Constants.isPreviewExamModeLocalStorageKey,
764
false
765
);
766
- const applyEnableExamMode = isPreviewExamMode || (enableExamMode && role == Role.Student);
+ const applyEnableExamMode = isPreviewExamMode || (enableExamMode && role === Role.Student);
767
768
const tabs = useMemo(() => {
769
const tabs: SideContentTab[] = [playgroundIntroductionTab];
0 commit comments