feat: new UI

This commit is contained in:
2024-09-24 13:49:17 +01:00
parent c8da87e0dd
commit 9bcdeabda8
55 changed files with 6732 additions and 189 deletions

View File

@ -0,0 +1,10 @@
import { EventPublisher, Nip7Signer } from "@snort/system";
import useLogin from "./login";
export default function usePublisher() {
const login = useLogin();
switch (login?.type) {
case "nip7":
return new EventPublisher(new Nip7Signer(), login.pubkey);
}
}