mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-03-17 21:31:43 +01:00
bump applesauce
This commit is contained in:
parent
cab89b637f
commit
51f4ef87d0
12
package.json
12
package.json
@ -27,17 +27,17 @@
|
||||
"@chakra-ui/theme-tools": "^2.2.6",
|
||||
"@codemirror/autocomplete": "^6.18.3",
|
||||
"@codemirror/lang-json": "^6.0.1",
|
||||
"@codemirror/language": "^6.10.3",
|
||||
"@codemirror/language": "^6.10.4",
|
||||
"@codemirror/view": "^6.35.0",
|
||||
"@emotion/react": "^11.13.5",
|
||||
"@emotion/styled": "^11.13.5",
|
||||
"@getalby/bitcoin-connect": "^3.6.2",
|
||||
"@getalby/bitcoin-connect-react": "^3.6.2",
|
||||
"@noble/ciphers": "^1.0.0",
|
||||
"@noble/curves": "^1.6.0",
|
||||
"@noble/hashes": "^1.5.0",
|
||||
"@noble/ciphers": "^1.1.0",
|
||||
"@noble/curves": "^1.7.0",
|
||||
"@noble/hashes": "^1.6.1",
|
||||
"@noble/secp256k1": "^1.7.1",
|
||||
"@scure/base": "^1.1.9",
|
||||
"@scure/base": "^1.2.1",
|
||||
"@snort/worker-relay": "^1.3.0",
|
||||
"@uiw/codemirror-theme-github": "^4.23.6",
|
||||
"@uiw/react-codemirror": "^4.23.6",
|
||||
@ -138,7 +138,7 @@
|
||||
"@vitejs/plugin-react": "^4.3.3",
|
||||
"camelcase": "^8.0.0",
|
||||
"eventemitter3": "^5.0.1",
|
||||
"typescript": "^5.6.3",
|
||||
"typescript": "^5.7.2",
|
||||
"vite": "^5.4.11",
|
||||
"vite-plugin-pwa": "^0.21.0",
|
||||
"workbox-build": "^7.3.0",
|
||||
|
538
pnpm-lock.yaml
generated
538
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -32,6 +32,7 @@ import { useWriteRelays } from "../../hooks/use-client-relays";
|
||||
import { usePublishEvent } from "../global/publish-provider";
|
||||
import { useUserOutbox } from "../../hooks/use-user-mailboxes";
|
||||
import useCurrentAccount from "../../hooks/use-current-account";
|
||||
import { eventStore } from "../../services/event-store";
|
||||
|
||||
type DeleteEventContextType = {
|
||||
isLoading: boolean;
|
||||
@ -81,7 +82,8 @@ export default function DeleteEventProvider({ children }: PropsWithChildren) {
|
||||
content: reason,
|
||||
created_at: dayjs().unix(),
|
||||
};
|
||||
await publish("Delete", draft);
|
||||
const pub = await publish("Delete", draft, undefined, false);
|
||||
eventStore.add(pub.event);
|
||||
defer?.resolve();
|
||||
} catch (e) {
|
||||
defer?.reject();
|
||||
|
Loading…
x
Reference in New Issue
Block a user