Skip to content

Commit

Permalink
feat: remove tests page
Browse files Browse the repository at this point in the history
Closes #919
  • Loading branch information
gregberge committed Jul 1, 2023
1 parent 6624594 commit 1463861
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apps/app/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { NotFound } from "./pages/NotFound";
import { Project } from "./pages/Project";
import { ProjectBuilds } from "./pages/Project/Builds";
import { ProjectSettings } from "./pages/Project/Settings";
import { Tests } from "./pages/Project/Tests";
// import { Tests } from "./pages/Project/Tests";
import { Signup } from "./pages/Signup";
import { VercelCallback } from "./pages/Vercel";

Expand Down Expand Up @@ -69,7 +69,7 @@ const router = createBrowserRouter(
<Route path=":accountSlug/:projectName" element={<Project />}>
<Route path="" element={<ProjectBuilds />} />
<Route path="builds" element={<Navigate to=".." replace={true} />} />
<Route path="tests" element={<Tests />} />
{/* <Route path="tests" element={<Tests />} /> */}
<Route path="settings" element={<ProjectSettings />} />
</Route>
<Route id="account" path=":accountSlug" element={<Account />}>
Expand Down
4 changes: 2 additions & 2 deletions apps/app/src/pages/Project/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ type Account = NonNullable<
>;

const ProjectTabs = ({
hasTests,
// hasTests,
hasWritePermission,
account,
}: {
Expand All @@ -51,7 +51,7 @@ const ProjectTabs = ({
<>
<TabLinkList state={tab} aria-label="Sections">
<TabLink to="">Builds</TabLink>
{hasTests && <TabLink to="tests">Tests</TabLink>}
{/* {hasTests && <TabLink to="tests">Tests</TabLink>} */}
{hasWritePermission && <TabLink to="settings">Settings</TabLink>}
</TabLinkList>
<hr className="border-t-border" />
Expand Down

0 comments on commit 1463861

Please sign in to comment.