We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83e1884 commit 1a23578Copy full SHA for 1a23578
svelte/registry/src/routes/(app)/components/follow/+page.svelte
@@ -21,7 +21,11 @@
21
title: 'Follow',
22
description: 'Follow buttons for Nostr users and topics'
23
};
24
- let sampleUser = $state<NDKUser | undefined>();
+
25
+ // Initialize sample user directly with npub
26
+ let sampleUser = $state<NDKUser | undefined>(
27
+ NDKUser.fromNpub("npub1l2vyh47mk2p0qlsku7hg0vn29faehy9hy34ygaclpn66ukqp3afqutajft")
28
+ );
29
30
// Components section configuration
31
const componentsSection = {
0 commit comments