I
I
Ilya Kuminov2021-11-08 15:40:25
React
Ilya Kuminov, 2021-11-08 15:40:25

How to stop an infinite call to a variable?

There is a button that calls a function, in the body of the function there is a call to Toasts.

Every time the user presses the button, Toasts will appear, and if the user presses enter, too many Toasts will be called, how to fix this?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question