fix the mess I started

This commit is contained in:
Ren Amamiya
2023-04-28 09:52:12 +07:00
parent 233a5bd2ad
commit a71502d19e
35 changed files with 197 additions and 380 deletions

View File

@@ -1,7 +1,7 @@
import destr from 'destr';
// convert NIP-02 to array of pubkey
export const nip02ToArray = (tags: string[]) => {
export const nip02ToArray = (tags: any) => {
const arr = [];
tags.forEach((item) => {
arr.push(item[1]);