Commit 76439cb9 authored by Michael Iseard's avatar Michael Iseard
Browse files

Pass additional props to SettingsCard component

parent be8d0a8d
......@@ -25,7 +25,7 @@ const CampaignPanel = ({settings, campaign, removeCampaign, handleInputChange, a
return (
<div id={"campaign-" +}>
<SettingCard title={__('General', 'kudos-donations')} id="campaignPanel">
<SettingCard title={__('General', 'kudos-donations')} id="campaignPanel" settings={settings} campaign={campaign} handleInputChange={handleInputChange}>
label={__('Name', 'kudos-donations')}
help={__('Ensure that this is a unique name to make it easy to identify in the transactions page.', 'kudos-donations')}
Markdown is supported
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