Skip to content

Commit

Permalink
fix build linting
Browse files Browse the repository at this point in the history
  • Loading branch information
sstraatemans committed Oct 11, 2023
1 parent b8457a8 commit bfbc4c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/apps/docs/src/hooks/useGetBlogs/utils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { IAuthorInfo, IMenuData } from '@/Layout';
import { compareDesc } from '@/utils/dates';
import { getAuthorData } from '@/utils/staticGeneration/getData.mjs';
import { getAuthorData } from '@/utils/staticGeneration/getJsonData.mjs';

export interface IIBlogLoadOptions {
authorId?: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export const flatPosts = (acc = [], val) => {
};

export const getFlatData = async () => {
console.log(111);
const { menuData: data } = await import('./../../_generated/menu.mjs');
return data.reduce(flatPosts, []).flat();
};

0 comments on commit bfbc4c2

Please sign in to comment.