GraphQL and MUI license updates

This commit is contained in:
Darren Clarke 2023-07-17 12:23:12 +00:00 committed by GitHub
parent 90143e5e41
commit 21db95a8e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 811 additions and 207 deletions

View file

@ -18,11 +18,12 @@ export const Button: FC<ButtonProps> = ({ text, color, href }) => (
sx={{
fontFamily: "Poppins, sans-serif",
fontWeight: 700,
borderRadius: 999,
borderRadius: 2,
backgroundColor: color,
padding: "6px 30px",
margin: "20px 0px",
whiteSpace: "nowrap",
textTransform: "none",
}}
>
{text}

View file

@ -9,6 +9,11 @@ import { SWRConfig } from "swr";
import { GraphQLClient } from "graphql-request";
import { AdapterDateFns } from "@mui/x-date-pickers-pro/AdapterDateFns";
import { LocalizationProvider } from "@mui/x-date-pickers-pro";
import { LicenseInfo } from "@mui/x-date-pickers-pro";
LicenseInfo.setLicenseKey(
"7c9bf25d9e240f76e77cbf7d2ba58a23Tz02NjU4OCxFPTE3MTU4NjIzMzQ2ODgsUz1wcm8sTE09c3Vic2NyaXB0aW9uLEtWPTI="
);
export const MultiProvider: FC<PropsWithChildren> = ({ children }) => {
const [csrfToken, setCsrfToken] = useState("");