Skip to content

Commit

Permalink
Merge pull request #32 from vtex-apps/fix-ssr
Browse files Browse the repository at this point in the history
Change form-input.upload to render only on client to avoid breaking SSR
  • Loading branch information
Breno Calazans authored Mar 17, 2021
2 parents b6a7b55 + b42713f commit 4d69902
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Fixed
- Change `form-input.upload` to render only on client since it breaks SSR.

## [0.5.0] - 2021-02-12

Expand Down
3 changes: 2 additions & 1 deletion store/interfaces.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"component": "FormInputTextArea"
},
"form-input.upload": {
"component": "FormInputUpload"
"component": "FormInputUpload",
"render": "client"
},
"form-submit": {
"component": "FormSubmit"
Expand Down

0 comments on commit 4d69902

Please sign in to comment.