diff options
| author | taehoon <th.dev91@gmail.com> | 2019-04-09 14:46:47 -0400 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-04-17 11:32:49 -0400 |
| commit | bb38a4311796c7d3c40e63585544c744a44402c1 (patch) | |
| tree | 731e5e4c5243a2081218750cfbdb5fb05dd11067 /src/components/user_profile | |
| parent | a89236f67c84723d5e7948beee2d43b0555ab6b1 (diff) | |
fix typos
Diffstat (limited to 'src/components/user_profile')
| -rw-r--r-- | src/components/user_profile/user_profile.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/user_profile/user_profile.js b/src/components/user_profile/user_profile.js index 1ef247cd..4eddb8b1 100644 --- a/src/components/user_profile/user_profile.js +++ b/src/components/user_profile/user_profile.js @@ -9,7 +9,7 @@ import withLoadMore from '../../hocs/with_load_more/with_load_more' const FollowerList = withLoadMore({ fetch: (props, $store) => $store.dispatch('fetchFollowers', props.userId), select: (props, $store) => get($store.getters.findUser(props.userId), 'followerIds', []).map(id => $store.getters.findUser(id)), - destory: (props, $store) => $store.dispatch('clearFollowers', props.userId), + destroy: (props, $store) => $store.dispatch('clearFollowers', props.userId), childPropName: 'items', additionalPropNames: ['userId'] })(List) @@ -17,7 +17,7 @@ const FollowerList = withLoadMore({ const FriendList = withLoadMore({ fetch: (props, $store) => $store.dispatch('fetchFriends', props.userId), select: (props, $store) => get($store.getters.findUser(props.userId), 'friendIds', []).map(id => $store.getters.findUser(id)), - destory: (props, $store) => $store.dispatch('clearFriends', props.userId), + destroy: (props, $store) => $store.dispatch('clearFriends', props.userId), childPropName: 'items', additionalPropNames: ['userId'] })(List) |
