mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-17 14:04:21 +01:00
update
This commit is contained in:
@@ -4,7 +4,11 @@ import type { Event as NostrEvent } from 'nostr-tools/event';
|
||||
import usePool from '@/clients/usePool';
|
||||
|
||||
type UseCommands = {
|
||||
publishTextNote: ({ content }: { content: string }) => Promise<void>;
|
||||
publishTextNote: (props: {
|
||||
relayUrls: string[];
|
||||
pubkey: string;
|
||||
content: string;
|
||||
}) => Promise<void>;
|
||||
};
|
||||
|
||||
const useCommands = (): UseCommands => {
|
||||
|
||||
Reference in New Issue
Block a user