Some other follow to watch changes

This commit is contained in:
James Grugett 2022-08-24 21:23:12 -05:00
parent 25eca71846
commit 0caa5e24e8

View File

@ -34,7 +34,7 @@ export const FollowMarketButton = (props: {
toast("You'll no longer receive notifications from this market", { toast("You'll no longer receive notifications from this market", {
icon: <CheckIcon className={'text-primary h-5 w-5'} />, icon: <CheckIcon className={'text-primary h-5 w-5'} />,
}) })
track('Unfollow Market', { track('Unwatch Market', {
slug: contract.slug, slug: contract.slug,
}) })
} else { } else {
@ -42,7 +42,7 @@ export const FollowMarketButton = (props: {
toast("You'll now receive notifications from this market!", { toast("You'll now receive notifications from this market!", {
icon: <CheckIcon className={'text-primary h-5 w-5'} />, icon: <CheckIcon className={'text-primary h-5 w-5'} />,
}) })
track('Follow Market', { track('Watch Market', {
slug: contract.slug, slug: contract.slug,
}) })
} }
@ -69,7 +69,7 @@ export const FollowMarketButton = (props: {
open={open} open={open}
setOpen={setOpen} setOpen={setOpen}
title={`You ${ title={`You ${
followers?.includes(user?.id ?? 'nope') ? 'followed' : 'unfollowed' followers?.includes(user?.id ?? 'nope') ? 'watched' : 'unwatched'
} a question!`} } a question!`}
/> />
</Button> </Button>