Skip to content

Commit 8e0a8dd

Browse files
committed
fix: remove unused error variable in redirect fallback
1 parent af42bbd commit 8e0a8dd

File tree

1 file changed

+1
-1
lines changed
  • src/routes/guides/tutorials/getting-started-with-solid

1 file changed

+1
-1
lines changed

src/routes/guides/tutorials/getting-started-with-solid/welcome.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default function WelcomeRedirect() {
1919
// use replace so the redirect doesn't add an extra history entry
2020
try {
2121
window.location.replace("https://docs.solidjs.com/quick-start");
22-
} catch (e) {
22+
} catch {
2323
// fallback: set href
2424
window.location.href = "https://docs.solidjs.com/quick-start";
2525
}

0 commit comments

Comments
 (0)