refactor: remove unneeded bridgeLoaded
This commit is contained in:
parent
f6081fa0d4
commit
e19ff1e0a1
|
@ -16,11 +16,6 @@ function handleBridgeMessage(
|
||||||
data: any,
|
data: any,
|
||||||
domain: string,
|
domain: string,
|
||||||
) {
|
) {
|
||||||
if (data.method === "bridgeLoaded") {
|
|
||||||
getBridgeLoadedResolve()();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!("nonce" in data)) {
|
if (!("nonce" in data)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue