diff --git a/frontend/app/components/shared/SessionSettings/components/CaptureRate.tsx b/frontend/app/components/shared/SessionSettings/components/CaptureRate.tsx
index a7f8b3363..2d19acef6 100644
--- a/frontend/app/components/shared/SessionSettings/components/CaptureRate.tsx
+++ b/frontend/app/components/shared/SessionSettings/components/CaptureRate.tsx
@@ -64,7 +64,8 @@ function CaptureRate(props: Props) {
rate: parseInt(captureRate, 10),
conditionalCapture: conditionalCapture,
conditions: isEnterprise ? conditions.map((c) => c.toCaptureCondition()) : [],
- }).finally(() => setChanged(false));
+ })
+ setChanged(false)
};
const updateDisabled = !changed || !isAdmin || (isEnterprise && (conditionalCapture && conditions.length === 0));
@@ -104,9 +105,9 @@ function CaptureRate(props: Props) {