File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ import { useTheme } from "@mui/material/styles";
3333import { useGitHubAuth } from "../../hooks/useGitHubAuth" ;
3434import { useGitHubData } from "../../hooks/useGitHubData" ;
3535import { KeyIcon } from "lucide-react" ;
36+ import Dashboard from "../../components/Dashboard" ;
37+
3638
3739const ROWS_PER_PAGE = 10 ;
3840
@@ -335,7 +337,14 @@ const Home: React.FC = () => {
335337 < CircularProgress />
336338 </ Box >
337339 ) : (
338- < Box sx = { { maxHeight : "400px" , overflowY : "auto" } } >
340+ < >
341+ < Dashboard
342+ totalIssues = { totalIssues }
343+ totalPrs = { totalPrs }
344+ data = { [ ...issues , ...prs ] }
345+ theme = { theme }
346+ />
347+ < Box sx = { { maxHeight : "400px" , overflowY : "auto" } } >
339348
340349 < TableContainer component = { Paper } >
341350
@@ -395,6 +404,7 @@ const Home: React.FC = () => {
395404
396405 </ TableContainer >
397406 </ Box >
407+ </ >
398408 ) }
399409 </ Container >
400410 ) ;
You can’t perform that action at this time.
0 commit comments