Skip to content

Commit

Permalink
Add docsearch css to root as well
Browse files Browse the repository at this point in the history
  • Loading branch information
brookslybrand committed Nov 24, 2024
1 parent c8d00aa commit 9621e0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/modules/docsearch.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import type { DocSearchProps } from "@docsearch/react";
import "@docsearch/css/dist/style.css";
import "~/styles/docsearch.css";
import { useHydrated } from "~/ui/utils";
import { Suspense, lazy } from "react";

Expand Down
2 changes: 2 additions & 0 deletions app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ import "~/styles/tailwind.css";
// FIXUP: Importing in `root` because we have a bug where the styles get offloaded
// see: https://github.com/remix-run/react-router-website/issues/139
import "~/styles/docs.css";
import "@docsearch/css/dist/style.css";
import "~/styles/docsearch.css";

export async function loader({ request }: LoaderFunctionArgs) {
await middlewares(request);
Expand Down

0 comments on commit 9621e0d

Please sign in to comment.