From d62ae397d8c0cca77f77346a3231ecce99786092 Mon Sep 17 00:00:00 2001 From: Alexander Bouriakov Date: Thu, 15 Apr 2021 15:29:44 +0200 Subject: [PATCH] Update favoriteItems.js --- v3-workspace/src/stores/favoriteItems.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v3-workspace/src/stores/favoriteItems.js b/v3-workspace/src/stores/favoriteItems.js index da943e0..b2418c1 100644 --- a/v3-workspace/src/stores/favoriteItems.js +++ b/v3-workspace/src/stores/favoriteItems.js @@ -22,6 +22,6 @@ const addNewItemToList = () => { favoriteItemStore.favoriteItems.push(favoriteItemStore.userInput) } -export default () => { +export default () => ({ favoriteItemStore, addNewItemToList -} +})