From 6077862035afb3f40108adac36ac339867357202 Mon Sep 17 00:00:00 2001 From: Luiz Ferraz Date: Tue, 21 May 2024 01:58:18 -0300 Subject: [PATCH] Update docs/src/content/docs/modular-station.md Co-authored-by: Bryce Russell Signed-off-by: Luiz Ferraz --- docs/src/content/docs/modular-station.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/content/docs/modular-station.md b/docs/src/content/docs/modular-station.md index 91138a79..779f1fe9 100644 --- a/docs/src/content/docs/modular-station.md +++ b/docs/src/content/docs/modular-station.md @@ -55,7 +55,7 @@ By default, accessing your API from any hook besides `astro:config:setup` using If you have an API that also works when called from other hooks, you can wrap them with `onHook` to declare which hooks are supported. For example, if you expose a method to register information that is only used on `astro:build:start` you can allow it to be used on any hook before that: -```ts title="my-integration.ts" ins={10-12} +```ts title="my-integration.ts" ins={11-13} import { withApi, onHook } from '@inox-tools/modular-station'; export default withApi((options: Options) => {