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

View File

@ -136,6 +136,8 @@ const CommentsTabContent = memo(function CommentsTabContent(props: {
</> </>
) )
} else { } 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 = const tipsOrBountiesAwarded =
Object.keys(tips).length > 0 || comments.some((c) => c.bountiesAwarded) Object.keys(tips).length > 0 || comments.some((c) => c.bountiesAwarded)

View File

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