Skip to content

Commit

Permalink
docs: fix file path indicator for main process on migrating guide
Browse files Browse the repository at this point in the history
  • Loading branch information
daltonmenezes committed Sep 12, 2024
1 parent ea11e70 commit 439da21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ description: Learn how to migrate from Electron Router DOM v1 to v2

<Step>Updating the main process</Step>

```diff title="src/renderer/routes.tsx"
```diff title="src/main/index.ts"
- import { createFileRoute, createURLRoute } from 'electron-router-dom'
+ import { registerRoute } from '../lib/electron-router-dom'
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ description: Aprenda como migrar do Electron Router DOM v1 para a v2

<Step>Atualizando o processo principal</Step>

```diff title="src/renderer/routes.tsx"
```diff title="src/main/index.ts"
- import { createFileRoute, createURLRoute } from 'electron-router-dom'
+ import { registerRoute } from '../lib/electron-router-dom'
```
Expand Down

0 comments on commit 439da21

Please sign in to comment.