From 5eda7a780b4a22d1072a08f3495a9d67a7db4418 Mon Sep 17 00:00:00 2001 From: Dom Farr Date: Sat, 29 Oct 2022 12:20:52 +0100 Subject: [PATCH] standard link look and feel on new collaboration proposal --- src/containers/proposals/ProposalList.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/containers/proposals/ProposalList.js b/src/containers/proposals/ProposalList.js index 51af210..a1b8362 100644 --- a/src/containers/proposals/ProposalList.js +++ b/src/containers/proposals/ProposalList.js @@ -1,3 +1,4 @@ +import { useTheme } from "@emotion/react"; import KeyboardArrowRightIcon from "@mui/icons-material/KeyboardArrowRight"; import { Avatar, Box, IconButton, Paper, Typography } from "@mui/material"; import React, { useEffect } from "react"; @@ -9,6 +10,7 @@ const text = { textOverflow: "ellipsis", }; export const ProposalList = () => { + const theme = useTheme(); const nav = useNavigate(); const [proposals, setProposals] = React.useState([]); @@ -22,7 +24,14 @@ export const ProposalList = () => { return ( - Create a New Collaboration Proposal + Create a{" "} + + New Collaboration Proposal + Proposals ({proposals.length})