From 909b39dfa6bf2954e406a9a2c62f6db14c09baff Mon Sep 17 00:00:00 2001 From: MrXyfir Date: Thu, 21 Mar 2019 12:14:24 -0700 Subject: [PATCH] Fix 'launch app' button style --- web/components/info/Info.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/web/components/info/Info.tsx b/web/components/info/Info.tsx index 0f5e89b7..541e9c3d 100644 --- a/web/components/info/Info.tsx +++ b/web/components/info/Info.tsx @@ -87,9 +87,9 @@ interface InfoProps extends WithStyles { user?: Ptorx.User; } -const CTAButton = ({ loggedIn }: { loggedIn: boolean }) => - loggedIn ? ( - +const CTAButton = ({ classes, user }: InfoProps) => + user ? ( + @@ -117,7 +117,7 @@ const _Info = ({ classes, user }: InfoProps) => ( through Ptorx. - + @@ -199,7 +199,7 @@ const _Info = ({ classes, user }: InfoProps) => (
- +