Skip to content

Commit 8b70b52

Browse files
committed
[Dashboard] Fix prepareEvent code snippet
1 parent 3a141e7 commit 8b70b52

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

apps/dashboard/src/contract-ui/tabs/code/components/code-overview.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@ export default function Component() {
198198
javascript: `import { prepareEvent, getContractEvents } from "thirdweb";
199199
200200
const preparedEvent = prepareEvent({
201-
contract,
202201
signature: "{{function}}"
203202
});
204203
const events = await getContractEvents({
@@ -209,7 +208,6 @@ const events = await getContractEvents({
209208
import { useContractEvents } from "thirdweb/react";
210209
211210
const preparedEvent = prepareEvent({
212-
contract,
213211
signature: "{{function}}"
214212
});
215213
@@ -223,7 +221,6 @@ export default function Component() {
223221
import { useContractEvents } from "thirdweb/react";
224222
225223
const preparedEvent = prepareEvent({
226-
contract,
227224
signature: "{{function}}"
228225
});
229226

0 commit comments

Comments
 (0)