Skip to content

Commit 9a994fe

Browse files
authored
🐛 Fix account takedown with high-sev takedowns (#431)
1 parent 6332356 commit 9a994fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/mod-event/helpers/useActionRecommendation.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,7 @@ export const useActionRecommendation = (
343343
recommendedDuration: 0,
344344
isPermanent: true,
345345
suspensionDurationInHours: null,
346+
thresholdCrossed: Infinity,
346347
actualStrikesToApply: 0, // No strikes needed for immediate ban
347348
message: `${currentStrikes} previous strikes but account will be permanently taken down because severity level requires takedown`,
348349
}

0 commit comments

Comments
 (0)