Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wc #79

Merged
merged 2 commits into from
Nov 1, 2024
Merged

Wc #79

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions client/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,6 @@
</style>
</head>
<body>
<audio
id="audio"
src="https://interactive-examples.mdn.mozilla.net/media/cc0-audio/t-rex-roar.mp3"
crossorigin="anonymous"
loop
></audio>
<dialog id="welcome" open>
<h1>Wallet Test Framework</h1>
<p>
Expand Down
6 changes: 1 addition & 5 deletions client/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -365,10 +365,6 @@ function main() {
spawn(async () => await run(window.ethereum)),
);

walletconnect.addEventListener("click", () => {
const audio = document.getElementById("audio") as HTMLAudioElement;
audio.play().catch((e) => alert(e));
});
walletconnect.addEventListener(
"click",
spawn(async () => {
Expand All @@ -389,7 +385,7 @@ function main() {

rpcMap: rpcMap,
});
await provider.connect();
spawn(async () => await provider.connect())();

await run(provider);
}),
Expand Down
Loading