Skip to content

Commit

Permalink
fix: formData default arg
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinchappell committed Oct 20, 2020
1 parent 3f169cc commit 596a639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const createRemoveButton = () =>
)

export default class FormeoRenderer {
constructor(opts, formData) {
constructor(opts, formData = {}) {
const { renderContainer, external } = processOptions(opts)
this.container = renderContainer
this.form = formData
Expand Down

0 comments on commit 596a639

Please sign in to comment.