From 14d9c925f2219a268ed197a4487df6186f882ba1 Mon Sep 17 00:00:00 2001 From: Ahmed-Ayman Date: Wed, 19 Dec 2018 18:14:13 +0200 Subject: [PATCH] dispatch the loaded all results action. --- src/actions/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actions/search.js b/src/actions/search.js index bf2e985..4389284 100644 --- a/src/actions/search.js +++ b/src/actions/search.js @@ -37,7 +37,7 @@ function loadedTopics(topics) { setItem('allTopics', JSON.stringify(topics)); setItem('topicsUpdatedAt', new Date()); return { - type: LOADED_ALL_TOPICS, + type: LOADED_ALL_RESULTS, payload: topics }; }; \ No newline at end of file