Skip to content

Commit

Permalink
chore(preview): fix default language option value (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
kkrypt0nn authored Oct 5, 2023
1 parent 2f1f9c2 commit fdbc9dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
class="border border-gray-500 bg-gray-50 dark:bg-gray-900 rounded px-1"
>
<template x-for="[name, file] of Object.entries(langs)">
<option x-text="name" :value="file"></option>
<option x-text="name" :selected="file == `${language}`" :value="file"></option>
</template>
</select>
</div>
Expand Down

0 comments on commit fdbc9dc

Please sign in to comment.