1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-20 20:41:16 -04:00

refactor .js files to ES modules where possible

This commit is contained in:
2024-03-12 14:58:00 -04:00
parent e66dc37c41
commit e1a26d5257
28 changed files with 460 additions and 414 deletions

View File

@@ -2,7 +2,7 @@ import { buildFeed } from "../lib/helpers/build-feed";
import type { GetServerSideFeedProps } from "../lib/helpers/build-feed";
export const getServerSideProps: GetServerSideFeedProps = async (context) => {
return buildFeed(context, "atom");
return buildFeed(context, { format: "atom" });
};
// eslint-disable-next-line import/no-anonymous-default-export