Skip to content

Commit

Permalink
sonar fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jagadeeswaran-zipstack committed Jul 17, 2024
1 parent 146459f commit 2c4b8a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function CombinedOutput({ docId, setFilledFields }) {
if (activeKey === "0") {
const output = {};
for (const key in data) {
if (Object.prototype.hasOwnProperty.call(data, key)) {
if (Object.hasOwn(data, key)) {
output[key] = displayPromptResult(data[key], false);
}
}
Expand Down

0 comments on commit 2c4b8a8

Please sign in to comment.