From b2d813b2fac7e15580d9c1fa8101a377e4427206 Mon Sep 17 00:00:00 2001 From: Sung Won Cho Date: Wed, 2 Oct 2019 18:54:05 +0800 Subject: [PATCH] Fix failing requests (#263) * Fix a failing request * Update changelog * Bump * Update changelog --- CHANGELOG.md | 10 ++++++++-- browser/package.json | 2 +- browser/src/scripts/components/Composer.tsx | 4 +--- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d945449e..69c7f502 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,9 +10,9 @@ All notable changes to the projects under this repository will be documented in The following log documentes the history of the server project. -## [Unreleased] +### [Unreleased] -### Changed +#### Changed - Treat a linebreak as a new line in the preview (#261) - Allow to have multiple editor states for adding and editing notes (#260) @@ -60,6 +60,12 @@ The following log documentes the history of the CLI project The following log documentes the history of the browser extensions project +### [Unreleased] + +#### Fixed + +- Fix failing requests (#263) + ### 1.1.0 - 2019-09-30 #### Removed diff --git a/browser/package.json b/browser/package.json index cbb3a815..0513bc4b 100644 --- a/browser/package.json +++ b/browser/package.json @@ -12,7 +12,7 @@ }, "author": "Monomax Software Pty Ltd", "license": "GPL-3.0-or-later", - "version": "1.1.0", + "version": "1.1.1", "dependencies": { "classnames": "^2.2.5", "lodash": "^4.17.15", diff --git a/browser/src/scripts/components/Composer.tsx b/browser/src/scripts/components/Composer.tsx index d1ceec92..7d961020 100644 --- a/browser/src/scripts/components/Composer.tsx +++ b/browser/src/scripts/components/Composer.tsx @@ -163,9 +163,7 @@ const Composer: React.FunctionComponent = () => { return () => { window.removeEventListener('keydown', handleSubmitShortcut); }; - }, []); - - useEffect(() => {}, []); + }, [composer]); let submitBtnText: string; if (submitting) {