kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Reevaluate signer when window.nostr changes
rodzic
ed25c63a10
commit
946f615339
|
@ -32,7 +32,7 @@ export const NostrProvider: React.FC<NostrProviderProps> = ({ children }) => {
|
|||
|
||||
const signer = useMemo(
|
||||
() => (accountPubkey ? NKeys.get(accountPubkey) : undefined) ?? window.nostr,
|
||||
[accountPubkey],
|
||||
[accountPubkey, window.nostr],
|
||||
);
|
||||
|
||||
const handleRelayOpen = () => {
|
||||
|
|
Ładowanie…
Reference in New Issue