From 2865ea77fec808bcd1baec05ff0c7f355b0cc4de Mon Sep 17 00:00:00 2001 From: Ajay Date: Fri, 22 Dec 2023 00:23:36 -0500 Subject: [PATCH] Fix scrolling fast on edit time not saving properly --- src/components/SponsorTimeEditComponent.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/SponsorTimeEditComponent.tsx b/src/components/SponsorTimeEditComponent.tsx index 1b470a78..80b71f1c 100644 --- a/src/components/SponsorTimeEditComponent.tsx +++ b/src/components/SponsorTimeEditComponent.tsx @@ -593,11 +593,12 @@ class SponsorTimeEditComponent extends React.Component { this.saveEditTimes(); - }, timeSinceLastEdit) + }, rateLimitTime - timeSinceLastEdit) } return;