From a817cc7cb464d804ccd8af2bbe22e9b738959a3a Mon Sep 17 00:00:00 2001
From: taehoon
Date: Wed, 13 Feb 2019 12:05:23 -0500
Subject: Wire up ui to real blocks api data
---
src/components/user_settings/user_settings.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'src/components/user_settings/user_settings.js')
diff --git a/src/components/user_settings/user_settings.js b/src/components/user_settings/user_settings.js
index 34ab99c7..5d8541f0 100644
--- a/src/components/user_settings/user_settings.js
+++ b/src/components/user_settings/user_settings.js
@@ -10,8 +10,8 @@ import withLoadMore from '../../hocs/with_load_more/with_load_more'
const BlockListWithLoadMore = withLoadMore(
UserList,
- (props, $store) => $store.dispatch('addFriends', $store.state.users.currentUser.id),
- (props, $store) => get($store.getters.userById($store.state.users.currentUser.id), 'friends', [])
+ (props, $store) => $store.dispatch('fetchBlocks'),
+ (props, $store) => get($store.state.users.currentUser, 'blocks', [])
)
const UserSettings = {
--
cgit v1.2.3-70-g09d2