diff --git a/packages/app/src/components/PostCard/index.jsx b/packages/app/src/components/PostCard/index.jsx index 56af065d..f2ed249c 100644 --- a/packages/app/src/components/PostCard/index.jsx +++ b/packages/app/src/components/PostCard/index.jsx @@ -61,7 +61,7 @@ function PostHeader(props) { </div> </div> </div> - <div className="postStadistics"> + <div className="postStatistics"> <div className="item"> <Icons.Heart className={classnames("icon", { ["filled"]: props.isLiked })} /> <div className="value"> @@ -222,8 +222,8 @@ export const PostCardAnimated = ({ motionAppear={motionAppear} onAppearStart={getCollapsedHeight} onAppearActive={node => { - motionRef.current = true; - return getMaxHeight(node); + motionRef.current = true + return getMaxHeight(node) }} onAppearEnd={onAppear} onLeaveStart={getCurrentHeight} diff --git a/packages/app/src/components/PostCard/index.less b/packages/app/src/components/PostCard/index.less index 1bd02c22..78fe680f 100644 --- a/packages/app/src/components/PostCard/index.less +++ b/packages/app/src/components/PostCard/index.less @@ -78,7 +78,7 @@ } } - .postStadistics { + .postStatistics { display : inline-flex; flex-direction: column; font-size : 16px;