Commit 4c6c63ea authored by Andrei Mondoc's avatar Andrei Mondoc
Browse files

typo

parent a63c931f
...@@ -52,7 +52,7 @@ const SelectContributionPageControl = ({ id, setAttributes }) => { ...@@ -52,7 +52,7 @@ const SelectContributionPageControl = ({ id, setAttributes }) => {
placeholder={__('Select a Contribution page', 'civicrm')} placeholder={__('Select a Contribution page', 'civicrm')}
value={contributionPage || 0} value={contributionPage || 0}
onChange={(option) => onChange={(option) =>
setAttributes({ id: option.value.toSring() }) setAttributes({ id: option.value.toString() })
} }
options={contributionPages} options={contributionPages}
components={{ Option: ContributionPageOption }} components={{ Option: ContributionPageOption }}
......
...@@ -65,7 +65,7 @@ const SelectEventControl = ({ id, setAttributes }) => { ...@@ -65,7 +65,7 @@ const SelectEventControl = ({ id, setAttributes }) => {
placeholder={__('Select an Event', 'civicrm')} placeholder={__('Select an Event', 'civicrm')}
value={event || 0} value={event || 0}
onChange={(option) => onChange={(option) =>
setAttributes({ id: option.value.toSring() }) setAttributes({ id: option.value.toString() })
} }
options={events} options={events}
components={{ Option: EventOption }} components={{ Option: EventOption }}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment