score:1

Accepted answer
useEffect(() => clearPage, clearPage);

Related Query

More Query from same tag