Skip to content

Commit

Permalink
fix: revert and pull from head
Browse files Browse the repository at this point in the history
  • Loading branch information
Keyrxng committed Feb 20, 2024
2 parents 97fb13c + 7fab1b4 commit 2adf64b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import { renderNftSymbol } from "./render-token-symbol";
import { setClaimMessage } from "./set-claim-message";
import { claimTxT } from "./tx-type";
import { removeAllEventListeners } from "./utils";
import { handleNetwork } from "../web3/wallet";

let optimalRPC: JsonRpcProvider;

Expand All @@ -34,7 +35,7 @@ export async function init() {
app.claimTxs = claimTxs;
optimalRPC = await getOptimalProvider(app.currentTx?.networkId ?? app.claimTxs[0].networkId);

// handleNetwork(app.currentTx?.networkId ?? app.claimTxs[0].networkId).catch(console.error);
handleNetwork(app.currentTx?.networkId ?? app.claimTxs[0].networkId).catch(console.error);
} catch (error) {
console.error(error);
setClaimMessage({ type: "Error", message: `Invalid claim data passed in URL` });
Expand Down

0 comments on commit 2adf64b

Please sign in to comment.