react to assign function to avoid never used function code example
Example: is assigned a value but never used
/* eslint-disable no-unused-vars */
======codes============
/* eslint-enable no-unused-vars */
/* eslint-disable no-unused-vars */
======codes============
/* eslint-enable no-unused-vars */