Skip to content

Commit

Permalink
fix type error in CSS bundle setup snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
markdalgleish committed Jan 10, 2023
1 parent b5266b7 commit 11b9ee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/styling.md
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ import { cssBundleHref } from "@remix-run/css-bundle";

export const links: LinksFunction = () => {
return [
{ rel: "stylesheet", href: cssBundleHref },
...(cssBundleHref ? [{ rel: "stylesheet", href: cssBundleHref }] : []),
// ...
];
};
Expand Down

0 comments on commit 11b9ee6

Please sign in to comment.