Skip to content

Commit

Permalink
Update src/PSClickWrap.js to use direct string comparison
Browse files Browse the repository at this point in the history
Co-authored-by: Shannon <[email protected]>
  • Loading branch information
jasonabrown and smckinney1 authored May 26, 2023
1 parent 413a00f commit 809c4aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PSClickWrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class PSClickWrap extends React.Component {
if (clickWrapStyle && _psLoadedValidGroup) { _ps.getByKey(clickwrapGroupKey).site.set('style', clickWrapStyle); }
_ps('set', 'signer_id', signerId);
}
if (!isEqual(snapshotLocation, prevProps.snapshotLocation)) {
if (snapshotLocation !== prevProps.snapshotLocation) {
_ps('set', 'snapshot_location', snapshotLocation);
}
if (clickWrapStyle !== prevProps.clickWrapStyle && dynamicGroup) {
Expand Down

0 comments on commit 809c4aa

Please sign in to comment.