Skip to content

Commit

Permalink
chore: rename repos.tsx to dashboard.tsx (#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
lihebi committed Aug 3, 2023
1 parent 21564e5 commit 42dac7b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions ui/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
import { createTheme, ThemeProvider } from "@mui/material/styles";

import Home from "./pages/index";
import Repos from "./pages/repos";
import Dashboard from "./pages/dashboard";
import Repo from "./pages/repo";
import Test from "./pages/test";
import Login from "./pages/login";
Expand Down Expand Up @@ -61,10 +61,10 @@ const router = createBrowserRouter([
),
},
{
path: "repos",
path: "dashboard",
element: (
<NormalLayout currentPage="Dashboard">
<Repos />
<Dashboard />
</NormalLayout>
),
},
Expand Down Expand Up @@ -113,7 +113,7 @@ const router = createBrowserRouter([
element: (
<NormalLayout>
{/* <Home /> */}
<Repos />
<Dashboard />
</NormalLayout>
),
},
Expand Down
2 changes: 1 addition & 1 deletion ui/src/pages/repos.tsx → ui/src/pages/dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ const RepoLists = () => {
);
};

export default function Page() {
export default function Dashboard() {
const { me } = useMe();
const { hasToken, loginGuest, isSignedIn } = useAuth();

Expand Down

0 comments on commit 42dac7b

Please sign in to comment.