Skip to content

Commit

Permalink
ide: small cleanup (#1859)
Browse files Browse the repository at this point in the history
  • Loading branch information
Delta456 authored Sep 24, 2024
1 parent f6369f6 commit be5b3e6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ const AppWrapper: FC<AppWrapperProps> = ({ children }) => {
const [languageMap, setLanguageMap] = React.useState<any>({})
React.useEffect(() => {
window.sideAPI.system.getLanguageMap(true).then((result) => {
console.log(result)
setLanguageMap(result)
})
}, [])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ const OutPutSettings: FC = () => {
.catch((error) => {
setOptions([])
setPage('')
console.log(error)
console.error(error)
})
}

Expand Down
2 changes: 1 addition & 1 deletion packages/selenium-ide/src/main/install-react-devtools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ export default () => {
loadExtensionOptions: { allowFileAccess: true },
})
.then((name) => console.log(`Added Extension: ${name}`))
.catch((err) => console.log('An error occurred: ', err))
.catch((err) => console.error('An error occurred: ', err))
}
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export default class ProjectsController {
project?.plugins?.filter((plugin) => typeof plugin === 'string') ?? []
return project
} catch (e) {
console.log((e as Error).message)
console.error((e as Error).message)
return null
}
}
Expand Down

0 comments on commit be5b3e6

Please sign in to comment.