Skip to content

Commit

Permalink
Remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Evalir committed Dec 3, 2020
1 parent 0fcb1fe commit 2c70675
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ type ActionCardProps = {
function ActionCard({ executionTime, id, state }: ActionCardProps) {
const history = useHistory()
const { daoAddress }: any = useParams()
console.log('action id exec', id, executionTime)

const handleCardClick = useCallback(() => {
history.push(`${daoAddress}/view-action/${id}`)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ function ContractCallHandler({
const resetTx = await ercContract.approve(account, '0')
await resetTx.wait(1)
}
console.log('approve', queueAddress, config.scheduleDeposit.amount)
await ercContract.approve(queueAddress, config.scheduleDeposit.amount)
}
const functionValues = values ? values.map((val: any) => val.value) : []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,6 @@ function ViewAction({ container, queueAddress }: ViewActionProps) {
)
}
}, [accountStatus, container, handleSetExecutionStatus, queueContract])
console.log(container)

const vetoEvent = container.history.find(
(event: any) => event.__typename === 'ContainerEventVeto',
Expand Down
4 changes: 0 additions & 4 deletions packages/govern-console/src/components/ViewDao/ViewDao.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export default function ViewDao({ dao }: ViewDaoProps) {
const res = await axios.get(
`${BASE_ETHERSCAN_TX_URL}${dao.executor.address}&apiKey=${process.env.REACT_APP_ETHERSCAN_API_TOKEN}`,
)
console.log(res)
return res
},
)
Expand All @@ -44,7 +43,6 @@ export default function ViewDao({ dao }: ViewDaoProps) {
useEffect(() => {
async function fetchEthBalance() {
const balance = await ethers.getBalance(dao.executor.address)
console.log(balance)
setEthBalance(balance.toString())
}
fetchEthBalance()
Expand All @@ -54,8 +52,6 @@ export default function ViewDao({ dao }: ViewDaoProps) {
history.push(`/${daoAddress}/new-action`)
}, [history, daoAddress])

console.log(dao)

return (
<>
<h2
Expand Down

0 comments on commit 2c70675

Please sign in to comment.