feat: update format

This commit is contained in:
reya
2023-12-14 13:11:21 +07:00
parent a93ebd3861
commit d9ab7893e0
120 changed files with 82 additions and 338 deletions
+1 -2
View File
@@ -1,10 +1,9 @@
import { NDKEvent } from '@nostr-dev-kit/ndk';
import { useEffect, useState } from 'react';
import { useArk } from '@libs/ark';
export function useDecryptMessage(event: NDKEvent) {
const { ark } = useArk();
const ark = useArk();
const [content, setContent] = useState(event.content);
useEffect(() => {