Skip to content

Commit

Permalink
Add safe check
Browse files Browse the repository at this point in the history
  • Loading branch information
dkmyta committed Sep 27, 2024
1 parent 4aa7483 commit a3e9e13
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const ConnectedFirewallHeader = () => {
const isSupportedWafFeatureEnabled = wafSupported ? isEnabled : bruteForceProtection;
const currentStatus = isSupportedWafFeatureEnabled ? 'on' : 'off';
const { currentDay: currentDayBlockCount = 0, thirtyDays: thirtyDaysBlockCounts = 0 } =
stats.blockedRequests || {};
stats?.blockedRequests || {};

return (
<FirewallHeader
Expand Down

0 comments on commit a3e9e13

Please sign in to comment.