You're currently attaching a new listener every time the div is clicked. Instead, add the listener just once, on initial mount, and use the callback form to ...
確定! 回上一頁