Skip to content

Commit

Permalink
no need for nullcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
dianabarsan committed Oct 16, 2024
1 parent f8a5e30 commit 7a67aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared-libs/rules-engine/src/rules-state-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const self = {
}

const rulesConfigHash = hashRulesConfig(settings);
if (state?.rulesConfigHash !== rulesConfigHash || targetState.isStale(state?.targetState)) {
if (state.rulesConfigHash !== rulesConfigHash || targetState.isStale(state.targetState)) {
state.stale = true;
}

Expand Down

0 comments on commit 7a67aca

Please sign in to comment.