Add Likes in Post component

This commit is contained in:
riggraz
2019-09-30 16:54:37 +02:00
parent dfee92da9c
commit 84263b9d33
15 changed files with 293 additions and 19 deletions

View File

@@ -17,6 +17,7 @@ interface Props {
postStatuses: Array<IPostStatus>;
isLoggedIn: boolean;
isPowerUser: boolean;
userEmail: string;
authenticityToken: string;
}
@@ -36,6 +37,7 @@ class PostRoot extends React.Component<Props> {
postStatuses,
isLoggedIn,
isPowerUser,
userEmail,
authenticityToken
} = this.props;
@@ -48,6 +50,7 @@ class PostRoot extends React.Component<Props> {
isLoggedIn={isLoggedIn}
isPowerUser={isPowerUser}
userEmail={userEmail}
authenticityToken={authenticityToken}
/>
</Provider>