Pomodro-clock stuck need help!

Tell us what’s happening:
I am building a pomodro clock app but i am stuck at here…when i hit the start, the countdown starts but again when i hit it wont clear the interval
Whats wrong in my code.please help me out

Your code so far

class MyProvider extends Component {
  state = {
    session: 20,
    break : 5,
    isRunning : true,
//show time method
showTimer: () => {
        let time = setInterval(startTimer,1000)
          isRunning : !this.state.isRunning
        this.state.isRunning ? console.log("hello") : clearInterval(time)


Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36.