docs: update documentation for custom data-fetching hooks

This commit is contained in:
Aaron William Po
2023-12-03 03:05:34 -05:00
parent c5b7cb5a43
commit 0353f82c20
21 changed files with 115 additions and 89 deletions

View File

@@ -4,7 +4,7 @@ import useSWRInfinite from 'swr/infinite';
import { z } from 'zod';
/**
* A custom hook using SWR to fetch beer types from the API.
* A custom hook to fetch beer styles posts.
*
* @param options The options to use when fetching beer types.
* @param options.pageSize The number of beer types to fetch per page.