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

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

Loading…
Cancel
Save