Skip to content

Commit

Permalink
Update index.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
melnikga committed May 9, 2024
1 parent cc467a5 commit c7770c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/Editor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ const Editor = ({ readOnly = false }: Props) => {
const debugModeValue = query.debugMode as ProgramDebugMode
setDebugMode(debugModeValue)
}
router.push('/')
} else {
const initialCodeType: CodeType =
getSetting(Setting.EditorCodeType) || CodeType.Cairo
Expand Down

0 comments on commit c7770c8

Please sign in to comment.