System Information
- Strapi Version:
- Operating System:
- Database:
- Node Version:
- NPM Version:
- Yarn Version:
Hello,
I would like to create a function that generates a random number when i publish a post.
To do that, i would like to modify my create() controller and import my function here. In my function i have “useState”, but it seems that i can not import it.
Could you help me please ?
Thank you