Skip to content

Commit 62a842c

Browse files
authored
Fix extension to tsx (tauri-apps#964)
1 parent 8c32947 commit 62a842c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guides/getting-started/setup/next-js.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ To call our newly created command we will use the [`@tauri-apps/api`] JavaScript
152152

153153
<InstallTauriApi />
154154

155-
With the library installed, you can modify your `pages/index.ts` file to call the Command:
155+
With the library installed, you can modify your `pages/index.tsx` file to call the Command:
156156

157157
```typescript title=pages/index.tsx
158158
import { invoke } from '@tauri-apps/api/tauri'

0 commit comments

Comments
 (0)