aboutsummaryrefslogtreecommitdiff
path: root/src/client/react/actions
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2018-01-06 15:42:04 +0100
committerNoah Loomans <noahloomans@gmail.com>2018-01-06 15:42:04 +0100
commitc0aa588bc8f85b13b5a55ccd6cdf11bf99048a1c (patch)
tree4914a9d09b362e222a83b0b9637ed87e11eebe7b /src/client/react/actions
parent928edee90f4a35eea20d581e093b002be04e9b47 (diff)
Add user page
Diffstat (limited to 'src/client/react/actions')
-rw-r--r--src/client/react/actions/search.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client/react/actions/search.js b/src/client/react/actions/search.js
index d903e64..22daeca 100644
--- a/src/client/react/actions/search.js
+++ b/src/client/react/actions/search.js
@@ -1,3 +1,8 @@
+export const setUser = user => ({
+ type: 'SEARCH/SET_USER',
+ user,
+});
+
export const inputChange = searchText => ({
type: 'SEARCH/INPUT_CHANGE',
searchText,