Skip to content

Commit c83ff42

Browse files
committed
Generic RT copy
1 parent ea3fff6 commit c83ff42

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎modules/app/utils.js‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,7 @@ function limitCalls(fn, limit = 20){
274274
calls++
275275
if(calls>limit){
276276
thrownewError(
277-
`EASY THERE: You've called "${
278-
fn.name
279-
}" too many times too quickly, did you forget the second argument to useEffect? Also, this is a message from Ryan and Michael, not React.`
277+
`EASY THERE: You've called "${fn.name}" too many times too quickly, did you forget the second argument to useEffect? Also, this is a message from React Training, not React.`
280278
)
281279
}else{
282280
setTimeout(()=>(calls=0),3000)

0 commit comments

Comments
(0)