Skip to content

Commit

Permalink
Merge pull request #118 from the-orange-alliance/ftf-base-models
Browse files Browse the repository at this point in the history
Base changes for the FGC 2024 game.
  • Loading branch information
Techno11 authored Aug 15, 2024
2 parents bca8917 + f9ae2e0 commit b10e36b
Show file tree
Hide file tree
Showing 3 changed files with 400 additions and 4 deletions.
5 changes: 2 additions & 3 deletions front-end/src/layouts/referee-layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Box from '@mui/material/Box';
import Container from '@mui/material/Container';
import { appbarConfigAtom } from '@stores/recoil';


interface Props {
title?: string;
titleLink?: string;
Expand All @@ -18,15 +17,15 @@ export const RefereeLayout: FC<Props> = ({
titleLink,
containerWidth,
children
}: Props) => {
}: Props) => {
const [, updateAppbarConfig] = useRecoilState(appbarConfigAtom);

useEffect(() => {
updateAppbarConfig({
title,
titleLink,
showFullscreen: true
});
});
}, []);

return (
Expand Down
Loading

0 comments on commit b10e36b

Please sign in to comment.