Remove unused logs

pull/5370/head
ioedeveloper 1 year ago committed by yann300
parent f377801131
commit dc18ab1396
  1. 5
      apps/circuit-compiler/src/app/components/container.tsx

@ -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 })
}

Loading…
Cancel
Save