diff --git a/apps/content/docs/en/guides/migration/migrating-from-v1-to-v2.mdx b/apps/content/docs/en/guides/migration/migrating-from-v1-to-v2.mdx index beb601d..675db43 100644 --- a/apps/content/docs/en/guides/migration/migrating-from-v1-to-v2.mdx +++ b/apps/content/docs/en/guides/migration/migrating-from-v1-to-v2.mdx @@ -46,7 +46,7 @@ description: Learn how to migrate from Electron Router DOM v1 to v2 Updating the main process - ```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' ``` diff --git a/apps/content/docs/pt/guides/migration/migrating-from-v1-to-v2.mdx b/apps/content/docs/pt/guides/migration/migrating-from-v1-to-v2.mdx index d99ca51..16d9619 100644 --- a/apps/content/docs/pt/guides/migration/migrating-from-v1-to-v2.mdx +++ b/apps/content/docs/pt/guides/migration/migrating-from-v1-to-v2.mdx @@ -46,7 +46,7 @@ description: Aprenda como migrar do Electron Router DOM v1 para a v2 Atualizando o processo principal - ```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' ```