From 14e06e03baa6f3ed98b4e5fbdb4213f05f6f23e4 Mon Sep 17 00:00:00 2001 From: David Kaltschmidt Date: Tue, 10 May 2016 20:58:57 +0200 Subject: [PATCH] Fix typo --- client/app/scripts/components/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/app/scripts/components/search.js b/client/app/scripts/components/search.js index 688325946..8b10b71f6 100644 --- a/client/app/scripts/components/search.js +++ b/client/app/scripts/components/search.js @@ -54,7 +54,7 @@ class Search extends React.Component { const inputValue = ev.target.value; let value = inputValue; // In render() props.searchQuery can be set from the outside, but state.value - // must have precendence for quick feedback. Now when the user backspaces + // must have precedence for quick feedback. Now when the user backspaces // quickly enough from `text`, a previouse doSearch(`text`) will come back // via props and override the empty state.value. To detect this edge case // we instead set value to null when backspacing.