import React from "react"; import { Container, Grid, Typography, Button, Card } from "@material-ui/core"; import Counter from "../general/Counter"; import { useDispatch } from "react-redux"; import { push } from "connected-react-router"; import { makeStyles } from "@material-ui/core/styles"; const useStyles = makeStyles(theme => ({ gridContainer: { margin: theme.spacing(2, 0), }, secondPageCard: { margin: theme.spacing(2, 0), padding: theme.spacing(2), border: `1px solid ${theme.gsc.navy}`, }, })); const SecondPage = () => { const classes = useStyles(); const dispatch = useDispatch(); return ( Second Page This content is on a card. The counter below stores its state in Redux. The state is persisted. ); }; export default SecondPage;