Skip to content

Commit

Permalink
Merge pull request #170 from melnikga/bug/issue-169
Browse files Browse the repository at this point in the history
Bug: Selecting code examples does not work when navigating to permalink - Issue #169
  • Loading branch information
mazurroman authored May 10, 2024
2 parents cc467a5 + c7770c8 commit a6e75dc
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 a6e75dc

Please sign in to comment.