From 439da213bd4b353b33096896d02cd5696da61b2e Mon Sep 17 00:00:00 2001 From: Dalton Menezes Date: Thu, 12 Sep 2024 06:59:01 -0300 Subject: [PATCH] docs: fix file path indicator for main process on migrating guide --- .../docs/en/guides/migration/migrating-from-v1-to-v2.mdx | 2 +- .../docs/pt/guides/migration/migrating-from-v1-to-v2.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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' ```