Skip to content

Commit 7dcb157

Browse files
RichDom2185Copilot
andauthored
Update src/pages/playground/Playground.tsx
Co-authored-by: Copilot <[email protected]>
1 parent 156e3a3 commit 7dcb157

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/playground/Playground.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ const Playground: React.FC<PlaygroundProps> = props => {
763763
Constants.isPreviewExamModeLocalStorageKey,
764764
false
765765
);
766-
const applyEnableExamMode = isPreviewExamMode || (enableExamMode && role == Role.Student);
766+
const applyEnableExamMode = isPreviewExamMode || (enableExamMode && role === Role.Student);
767767

768768
const tabs = useMemo(() => {
769769
const tabs: SideContentTab[] = [playgroundIntroductionTab];

0 commit comments

Comments
 (0)