Upgrade setup-node version Github actions

main
Guus van Meerveld 3 years ago
parent 215bb60d83
commit 7d2cb0dd2e
Signed by: Guusvanmeerveld
GPG Key ID: 2BA7D7912771966E

@ -21,7 +21,7 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v1 uses: actions/setup-node@v2
with: with:
node-version: "16.x" node-version: "16.x"
cache: "yarn" cache: "yarn"
@ -53,7 +53,7 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v1 uses: actions/setup-node@v2
with: with:
node-version: "16.x" node-version: "16.x"
cache: "yarn" cache: "yarn"

@ -10,6 +10,7 @@ import Box from "@mui/material/Box";
import Button from "@mui/material/Button"; import Button from "@mui/material/Button";
import IconButton from "@mui/material/IconButton"; import IconButton from "@mui/material/IconButton";
import Toolbar from "@mui/material/Toolbar"; import Toolbar from "@mui/material/Toolbar";
import Tooltip from "@mui/material/Tooltip";
import Typography from "@mui/material/Typography"; import Typography from "@mui/material/Typography";
import History from "@mui/icons-material/History"; import History from "@mui/icons-material/History";
@ -108,6 +109,7 @@ const Navbar: FC = () => {
> >
{pages.map((page, i) => ( {pages.map((page, i) => (
<Link key={i} href={page.link} passHref> <Link key={i} href={page.link} passHref>
<Tooltip title={`Go to ${page.name}`}>
<Button <Button
sx={{ sx={{
color: "white", color: "white",
@ -115,11 +117,14 @@ const Navbar: FC = () => {
alignItems: "center" alignItems: "center"
}} }}
> >
<Box sx={{ mr: 1, display: "flex", alignItems: "center" }}> <Box
sx={{ mr: 1, display: "flex", alignItems: "center" }}
>
{page.icon} {page.icon}
</Box> </Box>
{page.name} {page.name}
</Button> </Button>
</Tooltip>
</Link> </Link>
))} ))}

Loading…
Cancel
Save