From 1eff0bccbc63d25106b78ebcc1687a2ad0a4d950 Mon Sep 17 00:00:00 2001 From: Rico Kahler Date: Thu, 17 Dec 2020 16:29:46 -0500 Subject: [PATCH] fix arrows --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 21d55bc6..8045a100 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ At the root, add a `.babelrc` file that contains the following: import { createDataHook } from 'next-data-hooks'; // this context is the GetStaticPropsContext from 'next' -// 👇 +// 👇 const useBlogPost = createDataHook('BlogPost', async (context) => { const slug = context.params?.slug as string; @@ -127,7 +127,7 @@ export const getStaticProps: GetStaticProps = async (context) => { context, // this is an array of all data hooks from the `dataHooks` // static prop. there can be more than one - // 👇👇👇 + // 👇👇👇 dataHooks: BlogPostComponent.dataHooks, });