diff --git a/src/pages/blog/index.tsx b/src/pages/blog/index.tsx index 8359426..9519cea 100644 --- a/src/pages/blog/index.tsx +++ b/src/pages/blog/index.tsx @@ -20,6 +20,10 @@ import { HeaderQuery } from '~/lib/cms/queries/header' import { getHrefWithQuery, makeQuery } from '~/lib/utils/router' import { request } from '../../lib/datocms' +import { + getAllBlogPostsFromSource, + getAllBlogPostsCategoriesFromSource +} from '../../lib/datocms-bypass' const getMatchingCategory = (categories: CategoryFragment[], c?: string) => categories.find((cat) => cat.slug === c)