From 676c4b6d4d37cf7fa08718851c9904edf3cad45c Mon Sep 17 00:00:00 2001 From: DefectingCat Date: Mon, 5 Sep 2022 13:57:32 +0800 Subject: [PATCH] format --- pages/g/[id].tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/pages/g/[id].tsx b/pages/g/[id].tsx index 026fa7a..f7b7426 100644 --- a/pages/g/[id].tsx +++ b/pages/g/[id].tsx @@ -60,7 +60,6 @@ const Gist = ({ gist }: InferGetStaticPropsType) => { export const getStaticPaths: GetStaticPaths = async () => { const result = await getGists(); - const next = Number(result?.pageSize.next); const last = Number(result?.pageSize.last); const paths: ( | string