feat: add music widget
This commit is contained in:
@ -12,6 +12,7 @@ import { eventToLink, hexToBech32 } from "utils";
|
||||
import { ZapAlertItem } from "./widgets/zaps";
|
||||
import { TopZappersWidget } from "./widgets/top-zappers";
|
||||
import { Views } from "./widgets/views";
|
||||
import { Music } from "./widgets/music";
|
||||
import groupBy from "lodash/groupBy";
|
||||
|
||||
interface ZapAlertConfigurationProps {
|
||||
@ -195,6 +196,13 @@ export function WidgetsPage() {
|
||||
<Copy text={`${baseUrl}/alert/${npub}/views`} />
|
||||
{currentLink && <Views link={currentLink} />}
|
||||
</div>
|
||||
<div className="flex f-col g8">
|
||||
<h3>
|
||||
<FormattedMessage defaultMessage="Music" />
|
||||
</h3>
|
||||
<Copy text={`${baseUrl}/alert/${npub}/music`} />
|
||||
{currentLink && <Music link={currentLink} />}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user