Skip to content

Commit

Permalink
d
Browse files Browse the repository at this point in the history
  • Loading branch information
dvddvd300 committed Feb 21, 2024
1 parent f702043 commit 60e282d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 81 deletions.
5 changes: 1 addition & 4 deletions app/routes/_index.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
import type { LoaderFunctionArgs } from '@remix-run/cloudflare';
import { json, useLoaderData } from '@remix-run/react';
import { Markdown } from '~/components';
import { getFileContentWithCache } from '~/services/github.server';
import { parse } from '~/services/markdoc.server';

Check failure on line 4 in app/routes/_index.tsx

View workflow job for this annotation

GitHub Actions / ⬣ Linting

'parse' is defined but never used

export async function loader({ context }: LoaderFunctionArgs) {
const content = await getFileContentWithCache(context, 'README.md');

return json(
{
content: parse(content),
content: '',
},
{
headers: {
Expand Down
77 changes: 0 additions & 77 deletions app/services/github.server.ts

This file was deleted.

0 comments on commit 60e282d

Please sign in to comment.