Skip to content

Commit

Permalink
Remove unused logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ioedeveloper committed Nov 30, 2023
1 parent afd4015 commit 5ea7d17
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions apps/circuit-compiler/src/app/components/container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,11 @@ export function Container () {
const showCompilerLicense = async (message = 'License not available') => {
try {
const response = await fetch('https://raw.githubusercontent.com/iden3/circom/master/COPYING')
if (!response.ok) {
throw new Error(`HTTP error! status: ${response.status}`)
}
if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`)
const content = await response.text()
// @ts-ignore
circuitApp.plugin.call('notification', 'modal', { id: 'modal_circuit_compiler_license', title: 'Compiler License', message: content })
} catch (e) {
console.log('error: ', e)
// @ts-ignore
circuitApp.plugin.call('notification', 'modal', { id: 'modal_circuit_compiler_license', title: 'Compiler License', message })
}
Expand Down

0 comments on commit 5ea7d17

Please sign in to comment.