Skip to content

Commit a829a51

Browse files
committed
cleanup console logs
1 parent 5ce0d44 commit a829a51

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/client/hooks/useUpdateUrlLang.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ export const useUpdateUrlLang = () => {
3737
// sets the local lang state to match the newlang if the newLang is supported
3838
const setLang = (newLang: string) => {
3939
if (!languages.includes(newLang)) {
40-
console.log('aborted lang update')
4140
return
4241
}
4342
setStorageLang(newLang)

src/client/util/apiClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { PUBLIC_URL } from '../../config'
44
export type ApiError = AxiosError<{ message: string }>
55

66
const apiClient = axios.create({ baseURL: `${PUBLIC_URL}/api` })
7-
console.log('apiClient baseURL:', apiClient.defaults.baseURL)
7+
88
export const updaterApiClient = axios.create({
99
baseURL: `${PUBLIC_URL}/updater/api`,
1010
})

0 commit comments

Comments
 (0)