docs: clarify remote function import (#15082)
authorSamuel Plumppu <6125097+Greenheart@users.noreply.github.com>
Wed, 24 Dec 2025 00:20:41 +0000 (01:20 +0100)
committerGitHub <noreply@github.com>
Wed, 24 Dec 2025 00:20:41 +0000 (16:20 -0800)
Tiny detail to make it super clear the import is for remote functions.

documentation/docs/20-core-concepts/60-remote-functions.md

index f2b76f591a13a8710f82314e47a4cf8e367b345c..6bdc4e30d779b1a455ef9e333acf8e89caef5998 100644 (file)
@@ -829,7 +829,7 @@ This attribute exists on the `buttonProps` property of a form object:
 ```svelte
 <!--- file: src/routes/login/+page.svelte --->
 <script>
-       import { login, register } from '$lib/auth';
+       import { login, register } from '$lib/auth.remote';
 </script>
 
 <form {...login}>