Problems with react state status updates

there is an input to enter content into it, and then click send to empty the content in the input. I wrote this: after I click to send, the text in the state is already empty, but the input is not empty, that is, the view has not been updated. Why? shouldn"t you update the view automatically after changing the state?

Mar.16,2021
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-1e3d577-43eb6.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-1e3d577-43eb6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?