dispatch the loaded all results action.

This commit is contained in:
Ahmed-Ayman 2018-12-19 18:14:13 +02:00
parent b5ae097872
commit 14d9c925f2

View File

@ -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
};
};