aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/app/views/user/UserInfoCard.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-10-01 23:23:24 +0800
committercrupest <crupest@outlook.com>2020-10-01 23:23:24 +0800
commit6f0bbfd56758af305c9dcbb9e4b2b09b8e207ece (patch)
tree98d10d116cac292fbbe34771be3ddea8818e17d8 /Timeline/ClientApp/src/app/views/user/UserInfoCard.tsx
parent2cd5c4119ea7b2b4062705b08aca00ae4f288cb8 (diff)
downloadtimeline-6f0bbfd56758af305c9dcbb9e4b2b09b8e207ece.tar.gz
timeline-6f0bbfd56758af305c9dcbb9e4b2b09b8e207ece.tar.bz2
timeline-6f0bbfd56758af305c9dcbb9e4b2b09b8e207ece.zip
...
Diffstat (limited to 'Timeline/ClientApp/src/app/views/user/UserInfoCard.tsx')
-rw-r--r--Timeline/ClientApp/src/app/views/user/UserInfoCard.tsx10
1 files changed, 1 insertions, 9 deletions
diff --git a/Timeline/ClientApp/src/app/views/user/UserInfoCard.tsx b/Timeline/ClientApp/src/app/views/user/UserInfoCard.tsx
index 4cf11e62..bad2a9e1 100644
--- a/Timeline/ClientApp/src/app/views/user/UserInfoCard.tsx
+++ b/Timeline/ClientApp/src/app/views/user/UserInfoCard.tsx
@@ -16,14 +16,7 @@ export type UserInfoCardProps = TimelineCardComponentProps<
>;
const UserInfoCard: React.FC<UserInfoCardProps> = (props) => {
- const {
- timeline,
- onMember,
- onManage,
- syncStatus,
- collapse,
- toggleCollapse,
- } = props;
+ const { timeline, onMember, onManage, syncStatus, toggleCollapse } = props;
const { t } = useTranslation();
const avatar = useAvatar(timeline?.owner?.username);
@@ -32,7 +25,6 @@ const UserInfoCard: React.FC<UserInfoCardProps> = (props) => {
<InfoCardTemplate
className={props.className}
syncStatus={syncStatus}
- collapse={collapse}
toggleCollapse={toggleCollapse}
>
<div>