Open ivan-jorge001 opened 7 months ago
This break react native because it does have a window object defined but doesnt have that method, can we use import { encode as btoa } from 'base-64'; https://github.com/t4t5/nostr-react/blob/aa230629bd97d66d27789833c6c710412729a7e9/src/core.tsx#L182
PR to fix it https://github.com/t4t5/nostr-react/pull/30
This break react native because it does have a window object defined but doesnt have that method, can we use import { encode as btoa } from 'base-64'; https://github.com/t4t5/nostr-react/blob/aa230629bd97d66d27789833c6c710412729a7e9/src/core.tsx#L182