MCPcopy
hub / github.com/jklepatch/eattheblocks / toggleDone

Method toggleDone

todolist/step_testing/app/js/components/Task.js:11–16  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

9 }
10
11 toggleDone(e) {
12 const { target: { name } } = e
13 const { drizzle, drizzleState: { accounts } } = this.props
14
15 drizzle.contracts.ToDo.methods.toggleDone.cacheSend(name, { from: accounts[0], gas: '5000000' })
16 }
17
18 componentDidMount() {
19 const { drizzle, tid } = this.props

Callers 12

TasksClass · 0.45
renderTaskFunction · 0.45
TasksClass · 0.45
initMethod · 0.45
toggleDoneFunction · 0.45
renderTaskFunction · 0.45
toggleDoneFunction · 0.45
renderTaskFunction · 0.45
Todo.test.jsFile · 0.45
AppClass · 0.45
TasksClass · 0.45
initMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected