Renders the page a digest's unsubscribe link opens, where the reader turns that digest off with one click, signed in or not.

Functions

f
Unsubscribe(): React.JSX.Element

Renders /unsubscribe?token=, for anyone holding a digest's link. It asks before turning the digest off, since mail scanners open every link in an email, then posts the token to POST /api/unsubscribe.

Usage

import * as mod from "src/pages/Unsubscribe.tsx";