Remove unsubscribe options for market closure

This commit is contained in:
Ian Philips 2022-10-03 08:30:21 -06:00
parent f5a3abf0bc
commit 370edec890
3 changed files with 4 additions and 6 deletions

View File

@ -483,11 +483,7 @@
color: #999;
text-decoration: underline;
margin: 0;
">our Discord</a>! Or,
<a href="{{unsubscribeUrl}}" style="
color: inherit;
text-decoration: none;
" target="_blank">click here to unsubscribe from this type of notification</a>.
">our Discord</a>!
</td>
</tr>
</table>

View File

@ -136,6 +136,8 @@ const CommentsTabContent = memo(function CommentsTabContent(props: {
</>
)
} else {
// TODO: links to comments are broken because tips load after render and
// comments will reorganize themselves if there are tips/bounties awarded
const tipsOrBountiesAwarded =
Object.keys(tips).length > 0 || comments.some((c) => c.bountiesAwarded)

View File

@ -118,7 +118,7 @@ export function NotificationSettings(props: {
const yourMarkets: SectionData = {
label: 'Markets You Created',
subscriptionTypes: [
'your_contract_closed',
// 'your_contract_closed',
'all_comments_on_my_markets',
'all_answers_on_my_markets',
'subsidized_your_market',