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>
            )
        }
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e49183-43c81.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e49183-43c81.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?