From c7bd1750da186bc48d4bd44efb0c814e8024c3e2 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Mon, 19 May 2025 17:20:59 -0400 Subject: [PATCH] oops --- documentation/docs/03-template-syntax/09-@attach.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/docs/03-template-syntax/09-@attach.md b/documentation/docs/03-template-syntax/09-@attach.md index 0d43ab6cfa..4b9303023b 100644 --- a/documentation/docs/03-template-syntax/09-@attach.md +++ b/documentation/docs/03-template-syntax/09-@attach.md @@ -163,7 +163,7 @@ To add attachments to an object that will be spread onto a component or element, ## Converting actions to attachments -If you want to use this functionality on components but you are using a library that only provides actions you can use the [`fromAction`](svelte/attachments#fromAction) utility. +If you want to use this functionality on components but you are using a library that only provides actions you can use the [`fromAction`](svelte-attachments#fromAction) utility. This function accept an action as the first argument and a function returning the arguments of the action as the second argument and returns an attachment. @@ -181,4 +181,4 @@ This function accept an action as the first argument and a function returning th {@attach fromAction(log, () => count)} > {count} - \ No newline at end of file +