Skip to content

Commit

Permalink
fix: contentlayer config
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronauck committed Jul 27, 2023
1 parent 06f4264 commit 74186f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions contentlayer.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { defineDocumentType, makeSource } from 'contentlayer/source-files';

Check failure on line 1 in contentlayer.config.ts

View workflow job for this annotation

GitHub Actions / Lint

There should be at least one empty line between import groups

import { Docs } from './src/lib/Docs';
import { Docs } from '~/src/lib/Docs';

const MdDoc = defineDocumentType(() => ({
name: 'MdDoc',
Expand Down
2 changes: 1 addition & 1 deletion src/pages/versions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { VersionPage } from '../screens/VersionsPage';
type PageProps = VersionsPageProps;

export default function Versions({ versions }: PageProps) {
const { theme } = useTheme();
const { theme = 'light' } = useTheme();
return (
<Layout title="Fuel Docs" isClean theme={theme}>
<VersionPage versions={versions} />
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"next-env.d.ts",
"./src/**/*.ts",
"./src/**/*.tsx",
"./contentlayer.config.ts",
".contentlayer/generated",
".next/types/**/*.ts"
]
Expand Down

0 comments on commit 74186f0

Please sign in to comment.