Why can't I pass parameters to setState () here?

constructor() {
    super();
    this.state = {
        isSelected:0
    }
}
handleClick(index){
    console.log(index);
    this.setState=({
        isSelected:index
    })
}
render() {
    ...   
    <li className={...} onClick={this.handleClick.bind(this,0)}></li>
    ...
    )
}

for example, here I want to pass the value of 0 through the handleClick function. Index is passed into handleClick () but not this.setState ()

.
Mar.13,2021

constructor(props) {
            super(props);
            this.state = {
                isSelected:0
            }
        }
        handleClick(index){
            console.log(index);
            this.setState({
                isSelected:index
            })
        }
        render() {
            return(
                <div onClick={this.handleClick.bind(this,1)}>{this.state.isSelected}</div>
            )
        }
Menu