mirror of https://github.com/status-im/js-waku.git
Remove unnecessary parameter
This commit is contained in:
parent
85231a288f
commit
19c355e36b
|
@ -146,7 +146,6 @@ function App() {
|
||||||
const observerDirectMessage = handleDirectMessage.bind(
|
const observerDirectMessage = handleDirectMessage.bind(
|
||||||
{},
|
{},
|
||||||
setMessages,
|
setMessages,
|
||||||
ethDmKeyPair.privateKey,
|
|
||||||
address
|
address
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,6 @@ export function handlePublicKeyMessage(
|
||||||
|
|
||||||
export async function handleDirectMessage(
|
export async function handleDirectMessage(
|
||||||
setter: Dispatch<SetStateAction<Message[]>>,
|
setter: Dispatch<SetStateAction<Message[]>>,
|
||||||
privateKey: Uint8Array,
|
|
||||||
address: string,
|
address: string,
|
||||||
wakuMsg: WakuMessage
|
wakuMsg: WakuMessage
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Reference in New Issue