From e79772ce2dd838041152c938acfc8efc8be127db Mon Sep 17 00:00:00 2001 From: Jason Brown <86845131+jasonabrown@users.noreply.github.com> Date: Thu, 18 May 2023 10:16:17 -0700 Subject: [PATCH] Update PSClickWrap.js tabstop = 2 spaces :/ --- src/PSClickWrap.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/PSClickWrap.js b/src/PSClickWrap.js index b7b0cb4..ff6a0f9 100644 --- a/src/PSClickWrap.js +++ b/src/PSClickWrap.js @@ -81,7 +81,7 @@ class PSClickWrap extends React.Component { injectSnippetOnly, renderData, signerId, - snapshotLocation, + snapshotLocation, } = this.props; const { clickwrapGroupKey, dynamicGroup } = this.state; const _psLoadedValidGroup = _ps @@ -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 (!isEqual(snapshotLocation, prevProps.snapshotLocation)) { _ps('set', 'snapshot_location', snapshotLocation); } if (clickWrapStyle !== prevProps.clickWrapStyle && dynamicGroup) { @@ -216,7 +216,7 @@ class PSClickWrap extends React.Component { injectSnippetOnly, renderData, signerIdSelector, - snapshotLocation, + snapshotLocation, allowDisagreed, } = this.props; const options = { @@ -259,9 +259,9 @@ class PSClickWrap extends React.Component { _ps('set', 'custom_data', customData); } - if (snapshotLocation) { - _ps('set', 'snapshot_location', snapshotLocation); - } + if (snapshotLocation) { + _ps('set', 'snapshot_location', snapshotLocation); + } if (groupKey) { _ps('load', groupKey, { ...options, event_callback: eventCallback }); @@ -325,7 +325,7 @@ PSClickWrap.propTypes = { (props) => !props.hasOwnProperty('signerIdSelector') && !props.hasOwnProperty('injectSnippetOnly'), PSClickWrap.MUST_PROVIDE_SIGNER_ID_OR_SIGNER_ID_SELECTOR, ), - snapshotLocation: PropTypes.string, + snapshotLocation: PropTypes.string, testMode: PropTypes.bool, allowDisagreed: isRequiredIf( PropTypes.bool,