What is the diff between this two arrow functions?

Basically, I don’t understand why the second arrow function works, and first doesn’t.

    //this one doesnt
    this.setState = () => {
            text: e.target.value,
        };
  
    //this one works
    this.setState(() => ({
            text: e.target.value,
        }));