Reply opens auth popup when not logged in

This commit is contained in:
Chi Vinh Le
2018-09-06 00:07:14 +02:00
parent 90a875f40e
commit 46ff3dea89
18 changed files with 165 additions and 73 deletions
@@ -31,7 +31,7 @@ export const render = ({
</Localized>
);
}
return <StreamContainer asset={props.asset} user={props.me} />;
return <StreamContainer me={props.me} asset={props.asset} />;
}
return <Spinner />;
@@ -47,7 +47,7 @@ const StreamQuery: StatelessComponent<InnerProps> = ({
# This is basically a cache invalidation and causes relay
# to automatically update this query.
me(clientAuthRevision: $authRevision) {
...StreamContainer_user
...StreamContainer_me
}
asset(id: $assetID) {
...StreamContainer_asset