File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 1+ import Page from "./Page"
2+
3+ type Props = {
4+ name : string
5+ value : string
6+ }
7+
8+ export default function MyTrace ( { name, value } : Props ) {
9+ return < Page breadcrumb1 = "My Traces" breadcrumb2 = { name } value = { value } />
10+ }
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { Routes, Route } from "react-router-dom"
33
44const Demo = lazy ( ( ) => import ( "../page/Demo" ) )
55const About = lazy ( ( ) => import ( "../page/About" ) )
6+ const MyTrace = lazy ( ( ) => import ( "../page/MyTrace" ) )
67const Welcome = lazy ( ( ) => import ( "../page/Welcome" ) )
78const Uploader = lazy ( ( ) => import ( "../page/Uploader" ) )
89const PageNotFound = lazy ( ( ) => import ( "../page/PageNotFound" ) )
@@ -64,7 +65,7 @@ export default function PdlRoutes() {
6465 path = { `/my/${ title } ` }
6566 element = {
6667 < Suspense >
67- < Demo name = { title } value = { value } />
68+ < MyTrace name = { title } value = { value } />
6869 </ Suspense >
6970 }
7071 />
You can’t perform that action at this time.
0 commit comments