Skip to content

Commit 74d113c

Browse files
committed
Move engine page components to app router folder in teams layout (#5145)
## Problem solved Short description of the bug fixed or feature added <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on restructuring the file organization and import paths for various components within the dashboard application, specifically related to engine functionalities. It also includes updates to stylesheets and components for better modularity. ### Detailed summary - Updated import paths for several components to a new directory structure. - Refactored components like `EngineAdmins`, `EngineRelayer`, `EngineExplorer`, etc., to use relative imports from the new structure. - Adjusted CSS imports for `swagger-ui.css` and other styles. - Updated story files for `RecentEngineAlerts` and `ManageEngineAlerts` to reflect new paths. - Modified `EngineSystemMetrics` component imports for better organization. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent 486cd4a commit 74d113c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+75
-75
lines changed

apps/dashboard/src/@3rdweb-sdk/react/hooks/useEngine.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use client";
22

33
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
4-
import type { ResultItem } from "components/engine/system-metrics/components/StatusCodes";
4+
import type { ResultItem } from "app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/metrics/components/StatusCodes";
55
import { THIRDWEB_API_HOST } from "constants/urls";
66
import type { EngineBackendWalletType } from "lib/engine";
77
import { useState } from "react";

apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/access-tokens/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
"use client";
22

33
import { WithEngineInstance } from "components/engine/EnginePageLayout";
4-
import { EngineAccessTokens } from "components/engine/permissions/engine-access-tokens";
54
import type { EngineInstancePageProps } from "../types";
5+
import { EngineAccessTokens } from "./components/engine-access-tokens";
66

77
export default function Page(props: EngineInstancePageProps) {
88
const { params } = props;

0 commit comments

Comments
 (0)