From 11404af9caeeb1eef7071c70892639bb5ffc8899 Mon Sep 17 00:00:00 2001 From: Bruno Quaresma Date: Fri, 8 Sep 2023 15:14:41 -0300 Subject: [PATCH] chore(site): update files to use a more standard naming (#9605) --- site/index.html | 2 +- site/src/{app.tsx => App.tsx} | 0 site/src/components/Dashboard/Navbar/Navbar.test.tsx | 2 +- site/src/{Main.tsx => index.tsx} | 2 +- site/src/testHelpers/renderHelpers.tsx | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename site/src/{app.tsx => App.tsx} (100%) rename site/src/{Main.tsx => index.tsx} (98%) diff --git a/site/index.html b/site/index.html index 29cafbb453..c89c3b2aaf 100644 --- a/site/index.html +++ b/site/index.html @@ -46,5 +46,5 @@
- + diff --git a/site/src/app.tsx b/site/src/App.tsx similarity index 100% rename from site/src/app.tsx rename to site/src/App.tsx diff --git a/site/src/components/Dashboard/Navbar/Navbar.test.tsx b/site/src/components/Dashboard/Navbar/Navbar.test.tsx index 0fc06e6168..c9f9a00301 100644 --- a/site/src/components/Dashboard/Navbar/Navbar.test.tsx +++ b/site/src/components/Dashboard/Navbar/Navbar.test.tsx @@ -1,5 +1,5 @@ import { render, screen, waitFor } from "@testing-library/react"; -import { App } from "app"; +import { App } from "App"; import { Language } from "./NavbarView"; import { rest } from "msw"; import { diff --git a/site/src/Main.tsx b/site/src/index.tsx similarity index 98% rename from site/src/Main.tsx rename to site/src/index.tsx index a606c64bef..f87ac0db60 100644 --- a/site/src/Main.tsx +++ b/site/src/index.tsx @@ -1,7 +1,7 @@ import { inspect } from "@xstate/inspect"; import { createRoot } from "react-dom/client"; import { Interpreter } from "xstate"; -import { App } from "./app"; +import { App } from "./App"; import "./i18n"; // if this is a development build and the developer wants to inspect diff --git a/site/src/testHelpers/renderHelpers.tsx b/site/src/testHelpers/renderHelpers.tsx index 48596bf5fe..e4a0f85653 100644 --- a/site/src/testHelpers/renderHelpers.tsx +++ b/site/src/testHelpers/renderHelpers.tsx @@ -3,7 +3,7 @@ import { screen, waitForElementToBeRemoved, } from "@testing-library/react"; -import { AppProviders } from "app"; +import { AppProviders } from "App"; import { DashboardLayout } from "components/Dashboard/DashboardLayout"; import { i18n } from "i18n"; import { TemplateSettingsLayout } from "pages/TemplateSettingsPage/TemplateSettingsLayout";