diff --git a/web/src/components/SubscribeButtons.tsx b/web/src/components/SubscribeButtons.tsx index f5072e9f1..256b7a887 100644 --- a/web/src/components/SubscribeButtons.tsx +++ b/web/src/components/SubscribeButtons.tsx @@ -15,8 +15,12 @@ export const SubscribeButtons = (props: Props) => name={props.name} viewUrl={props.viewUrls[0]} text="Subscribe" + isPrimary={true} + /> + - ) : null; @@ -34,6 +38,7 @@ const MirrorButtons = (props: MirrorButtonsProps) => ( name={props.name} viewUrl={viewUrlMirror} text={`Subscribe (Mirror ${i + 1})`} + isPrimary={false} /> )) : null} @@ -44,10 +49,15 @@ interface SubscribeButtonProps { name: string; viewUrl: string; text: string; + isPrimary: boolean; } const SubscribeButton = (props: SubscribeButtonProps) => { - const buttonProps = buildButtonProps(props.name, props.viewUrl); + const buttonProps = buildButtonProps( + props.name, + props.viewUrl, + props.isPrimary + ); return (