Skip to content

Commit

Permalink
table the submit event name and value for now
Browse files Browse the repository at this point in the history
  • Loading branch information
ethangardner committed Dec 5, 2024
1 parent f10c048 commit f2c2a45
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/design/src/Form/components/Repeater/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ const Repeater: PatternComponent<RepeaterProps> = props => {
<button
type="submit"
className="usa-button usa-button--secondary usa-button--unstyled"
name={`btn_repeater-${props._patternId}`}
value={`add_repeater-${props._patternId}`}
onClick={e => {
e.preventDefault();
append({});
Expand All @@ -71,8 +69,6 @@ const Repeater: PatternComponent<RepeaterProps> = props => {
<button
type="submit"
className="usa-button usa-button--outline"
name={`btn_repeater-${props._patternId}`}
value={`add_repeater-${props._patternId}`}
onClick={e => {
e.preventDefault();
append({});
Expand All @@ -83,8 +79,6 @@ const Repeater: PatternComponent<RepeaterProps> = props => {
<button
type="submit"
className="usa-button usa-button--outline"
name={`btn_repeater-${props._patternId}`}
value={`delete_repeater-${props._patternId}`}
onClick={e => {
e.preventDefault();
remove(fields.length - 1);
Expand Down

0 comments on commit f2c2a45

Please sign in to comment.