Skip to content

Commit 5e32d00

Browse files
docs: update demo code
1 parent 538e90f commit 5e32d00

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/src/content/docs/guides/getting-started.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ await Nostalgist.megadrive('30yearsofnintendont.bin')
1717
await Nostalgist.gba('eliminator.gba')
1818

1919
// Or choose a ROM file from your disk
20-
await Nostalgist.nes(
21-
await showOpenFilePicker().then(([fileHandle]) => fileHandle.getFile())
22-
)
20+
await Nostalgist.nes(showOpenFilePicker)
2321
```
2422

2523
:::tip

0 commit comments

Comments
 (0)