Skip to content

Commit 8d996a2

Browse files
Fix linter error
- Changed variable `url` definition to const since the value is supposed to be immutable.
1 parent 5b0d534 commit 8d996a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/lib/hooks/api/appConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export function useAppInfo() {
3838
response = {};
3939
}
4040

41-
let url = new URL(data.raw.url);
41+
const url = new URL(data.raw.url);
4242
return {
4343
redirect: url.pathname.includes('auth'),
4444
response,

0 commit comments

Comments
 (0)