From 0220d3d304cbcb82b8531ff373dce1b35e93fb4f Mon Sep 17 00:00:00 2001 From: taehoon Date: Wed, 13 Feb 2019 14:55:02 -0500 Subject: Finally, added BlockCard --- src/components/user_settings/user_settings.js | 6 +++--- 1 file changed, 3 insertions(+), 3 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 a46afda6..3bcecdf4 100644 --- a/src/components/user_settings/user_settings.js +++ b/src/components/user_settings/user_settings.js @@ -5,13 +5,13 @@ import TabSwitcher from '../tab_switcher/tab_switcher.js' import ImageCropper from '../image_cropper/image_cropper.vue' import StyleSwitcher from '../style_switcher/style_switcher.vue' import fileSizeFormatService from '../../services/file_size_format/file_size_format.js' -import BasicUserCard from '../basic_user_card/basic_user_card.vue' +import BlockCard from '../block_card/block_card.vue' import withLoadMore from '../../hocs/with_load_more/with_load_more' import withList from '../../hocs/with_list/with_list' -const UserList = withList(BasicUserCard, entry => ({ user: entry })) +const BlockList = withList(BlockCard, entry => ({ user: entry })) const BlockListWithLoadMore = withLoadMore( - UserList, + BlockList, (props, $store) => $store.dispatch('fetchBlocks'), (props, $store) => get($store.state.users.currentUser, 'blocks', []) ) -- cgit v1.2.3-70-g09d2