Include react-big-calendar stylesheet
This commit is contained in:
parent
34dbfe449a
commit
f456cd3d8e
@ -27,11 +27,15 @@ import {
|
|||||||
} from "@chakra-ui/react";
|
} from "@chakra-ui/react";
|
||||||
import { useLoaderData } from "@remix-run/react";
|
import { useLoaderData } from "@remix-run/react";
|
||||||
import { useState } from "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 stylesheet from "../styles/events-team.css";
|
||||||
import { type LinksFunction } from "@remix-run/cloudflare";
|
import { type LinksFunction } from "@remix-run/cloudflare";
|
||||||
|
|
||||||
export const links: LinksFunction = () => {
|
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 }) {
|
export async function loader({ context }: { context: RequestContext }) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user