Commit aa5d097e authored by lianahus's avatar lianahus Committed by Liana Husikyan

added bleach to the lib

parent b765ff38
...@@ -9,7 +9,7 @@ export const DebuggerApiMixin = (Base) => class extends Base { ...@@ -9,7 +9,7 @@ export const DebuggerApiMixin = (Base) => class extends Base {
const self = this const self = this
this.web3Provider = { this.web3Provider = {
sendAsync(payload, callback) { sendAsync (payload, callback) {
self.call('web3Provider', 'sendAsync', payload) self.call('web3Provider', 'sendAsync', payload)
.then(result => callback(null, result)) .then(result => callback(null, result))
.catch(e => callback(e)) .catch(e => callback(e))
......
...@@ -8,7 +8,7 @@ import ReactDOM from 'react-dom' ...@@ -8,7 +8,7 @@ import ReactDOM from 'react-dom'
import modalDialogCustom from '../ui/modal-dialog-custom' import modalDialogCustom from '../ui/modal-dialog-custom'
const yo = require('yo-yo') const yo = require('yo-yo')
const css = require('./styles/debugger-tab-styles') const css = require('./styles/debugger-tab-styles')
const bleach = require('bleach'); import bleach from '../../lib/bleach'
const profile = { const profile = {
name: 'debugger', name: 'debugger',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment