Skip to content

Commit

Permalink
Merge branch 'master' into production
Browse files Browse the repository at this point in the history
  • Loading branch information
wrongsahil committed May 30, 2024
2 parents 98e94a8 + 1e0d364 commit 62fb958
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const ImplicitRuleTesting = () => {
getImplicitRuleTestingWidgetConfig(appMode).then((data) => {
setEnabledRuleTypes(data.ruleTypes);
setWidgetVisibility(data.visibility);
if (data.enabled) {
if (data?.enabled) {
setIsImplicitRuleTestingEnabled(true);
} else setIsImplicitRuleTestingEnabled(false);
});
Expand Down

0 comments on commit 62fb958

Please sign in to comment.