mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 10:42:08 +00:00
docs: update documentation for custom data-fetching hooks
This commit is contained in:
@@ -5,8 +5,7 @@ import useSWR from 'swr';
|
||||
import { z } from 'zod';
|
||||
|
||||
/**
|
||||
* A custom React hook that checks if the current user has liked a beer style by fetching
|
||||
* data from the server.
|
||||
* A custom hook to check if the current user has liked a beer style.
|
||||
*
|
||||
* @param beerStyleId The ID of the beer style to check for likes.
|
||||
* @returns An object with the following properties:
|
||||
|
||||
Reference in New Issue
Block a user