This commit is contained in:
Darren Clarke 2024-03-20 17:51:21 +01:00
parent b8c6e893ff
commit b09cc82544
167 changed files with 2196 additions and 1302 deletions

View file

@ -9,7 +9,7 @@ import { useTranslate } from "react-polyglot";
import { LanguageSelect } from "app/_components/LanguageSelect";
import LeafcutterLogoLarge from "images/leafcutter-logo-large.png";
import { signIn } from "next-auth/react";
import { useAppContext } from "app/_components/AppProvider";
import { useLeafcutterContext } from "leafcutter-ui";
type LoginProps = {
session: any;
@ -20,7 +20,7 @@ export const Login: FC<LoginProps> = ({ session }) => {
const {
colors: { leafcutterElectricBlue, lightGray },
typography: { h1, h4 },
} = useAppContext();
} = useLeafcutterContext();
const buttonStyles = {
backgroundColor: lightGray,
borderRadius: 500,