Skip to content

Commit be4693b

Browse files
Netailsiketyan
andauthored
Update src/components/starlight/LanguageSelect.astro
Co-authored-by: Naoki Ikeguchi <me@s6n.jp>
1 parent 81cd999 commit be4693b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/starlight/LanguageSelect.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import Select from "@astrojs/starlight/components/Select.astro";
3535
el.addEventListener("change", (e) => {
3636
const value = (e.currentTarget as HTMLSelectElement).value;
3737

38-
let url = new URL(window.location.href);
38+
const url = new URL(window.location.href);
3939
switch (value) {
4040
case "v1":
4141
url.hostname = "v1.biomejs.dev";

0 commit comments

Comments
 (0)