From b42713fbd04bbeacc8009b900171728f827add97 Mon Sep 17 00:00:00 2001 From: Breno Calazans Date: Wed, 17 Mar 2021 12:08:51 -0300 Subject: [PATCH] Change form-input.upload to render only on client to avoid breaking SSR --- CHANGELOG.md | 2 ++ store/interfaces.json | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e9164d6..6d02b8e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/store/interfaces.json b/store/interfaces.json index 38dae6d..2506e4c 100644 --- a/store/interfaces.json +++ b/store/interfaces.json @@ -26,7 +26,8 @@ "component": "FormInputTextArea" }, "form-input.upload": { - "component": "FormInputUpload" + "component": "FormInputUpload", + "render": "client" }, "form-submit": { "component": "FormSubmit"