Skip to content

Commit

Permalink
Add site maintainers to footer
Browse files Browse the repository at this point in the history
  • Loading branch information
tylermenezes committed Aug 25, 2022
1 parent c09924f commit 2a39d35
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dependencies": {
"@chakra-ui/icons": "^2.0.2",
"@chakra-ui/react": "~1.6.10",
"@codeday/topo": "^7.0.12",
"@codeday/topo": "^7.2.5",
"@codeday/topocons": "^1.3.0",
"@emotion/react": "^11",
"@emotion/styled": "^11",
Expand Down
3 changes: 1 addition & 2 deletions src/components/Page.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ export default ({
</Menu>
</Header>
{children}
<Box mb={16} />
<Footer>
<Footer mt={16} repository="www-labs" branch="master">
<CustomLinks>
<Link as="a" href="/dash">Participant Dashboard</Link>
</CustomLinks>
Expand Down
1 change: 0 additions & 1 deletion src/pages/dash/m/[token]/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { useRouter } from 'next/router';
export default function MentorDashboard() {
const { query } = useRouter();
const { loading, error, data } = useSwr(print(DashboardQuery));
console.log(error?.message);
if (error?.message && error?.message.includes('{')) {
return <Page title="Mentor Dashboard"><Content textAlign="center"><Text>{error.message.split('{')[0]}</Text></Content></Page>
}
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -891,10 +891,10 @@
eslint-plugin-react-hooks "^2.3.0"
eslint-plugin-sonarjs "^0.5.0"

"@codeday/topo@^7.0.12":
version "7.0.12"
resolved "https://registry.yarnpkg.com/@codeday/topo/-/topo-7.0.12.tgz#a31fb7663b3a275adb7576be947103557a72389b"
integrity sha512-epzSsjaa8N5RYwbMwWvRWsa1LexOixjfvgqV4M/ANZJixQSfxWN3dwgDrSqS0zUVKzNy94SHdoT4TZny0isMKg==
"@codeday/topo@^7.2.5":
version "7.2.5"
resolved "https://registry.yarnpkg.com/@codeday/topo/-/topo-7.2.5.tgz#afe96ef7559143f4bc243c3021eac1213711402f"
integrity sha512-iygI+eEIpqdBckaw66+Rhrf53riArwPqhQVrs7bbZXAOUeqmMhea8zgUyNXTvZZzO+HgoSP3thPuW4sPmbqGBA==
dependencies:
"@accessible/use-id" "^1.1.2"
"@chakra-ui/cli" "^1.6.0"
Expand Down

1 comment on commit 2a39d35

@vercel
Copy link

@vercel vercel bot commented on 2a39d35 Aug 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.