Skip to content

Commit

Permalink
remove enable call from playground
Browse files Browse the repository at this point in the history
  • Loading branch information
cb-jake committed Oct 23, 2024
1 parent 7021d22 commit 5f815d7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions examples/testapp/src/components/RpcMethods/RpcMethodCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,6 @@ export function RpcMethodCard({ format, method, params, shortcuts }) {
values = format(data);
}
try {
// connection required
if (!provider?.connected) {
await provider.enable();
}

const response = await provider.request({
method,
params: values,
Expand Down

0 comments on commit 5f815d7

Please sign in to comment.