Include react-big-calendar stylesheet

This commit is contained in:
Regalijan 2024-09-10 13:33:44 -04:00
parent 34dbfe449a
commit f456cd3d8e
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

View File

@ -27,11 +27,15 @@ import {
} from "@chakra-ui/react";
import { useLoaderData } from "@remix-run/react";
import { useState } from "react";
import calendarStyles from "react-big-calendar/lib/css/react-big-calendar.css";
import stylesheet from "../styles/events-team.css";
import { type LinksFunction } from "@remix-run/cloudflare";
export const links: LinksFunction = () => {
return [{ href: stylesheet, rel: "stylesheet" }];
return [
{ href: stylesheet, rel: "stylesheet" },
{ href: calendarStyles, rel: "stylesheet" },
];
};
export async function loader({ context }: { context: RequestContext }) {