diff --git a/frontend/react-material-admin/src/components/Layout/Layout.js b/frontend/react-material-admin/src/components/Layout/Layout.js index e158ae0a..9ae540c4 100644 --- a/frontend/react-material-admin/src/components/Layout/Layout.js +++ b/frontend/react-material-admin/src/components/Layout/Layout.js @@ -46,6 +46,7 @@ function Layout(props) { + { console.log("called getMsg"); @@ -119,6 +122,12 @@ export default function Tables() { print: false, viewColumns: false, selectableRows: "none", + onRowClick: rowData => { + console.log(rowData); + var address = rowData[1]; + console.log(address); + history.push("/app/squeakaddress/" + address); + }, }} /> diff --git a/frontend/react-material-admin/src/pages/typography/Typography.js b/frontend/react-material-admin/src/pages/typography/Typography.js index 483227b8..6dd5de7a 100644 --- a/frontend/react-material-admin/src/pages/typography/Typography.js +++ b/frontend/react-material-admin/src/pages/typography/Typography.js @@ -1,4 +1,5 @@ import React from "react"; +import { useParams } from 'react-router-dom'; import { Grid } from "@material-ui/core"; // styles @@ -9,117 +10,17 @@ import PageTitle from "../../components/PageTitle"; import Widget from "../../components/Widget"; import { Typography } from "../../components/Wrappers"; -export default function TypographyPage() { +export default function SqueakAddressPage() { var classes = useStyles(); + const { id } = useParams(); return ( <> - + - - -
- - h1. Heading - - - h2. Heading - - - h3. Heading - - - h4. Heading - - - h5. Heading - - h6. Heading -
-
-
- - -
- - h1. Heading - - - h2. Heading - - - h3. Heading - - - h4. Heading - - - h5. Heading - - - h6. Heading - -
-
-
- - -
- Basic text - - Basic light text - - - Basic medium text - - - Basic bold text - - - BASIC UPPERCASE TEXT - - - basic lowercase text - - - Basic Capitalized Text - - - Basic Cursive Text - -
-
-
- - -
- - Heading Typography SM Font Size - - - Heading Typography Regular Font Size - - - Heading Typography MD Font Size - - - Heading Typography XL Font Size - - - Heading Typography XXL Font Size - -
-
-
+
+ Hello! +
);