Skip to content

Commit

Permalink
fix: set path in editor to support multiple languages
Browse files Browse the repository at this point in the history
  • Loading branch information
Thechi2000 authored Sep 5, 2024
1 parent 3644cce commit c6a03b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ export default function Home({ username }: { username: string }) {
theme="vs-dark"
loading="Loading Editor..."
language={selectedLang}
path={selectedLang}
value={file}
onChange={(code: string | undefined) =>
code ? setFile(code) : null
Expand Down

0 comments on commit c6a03b8

Please sign in to comment.