diff --git a/packages/svelte/src/internal/client/render.js b/packages/svelte/src/internal/client/render.js index 79a891acd6..c23b38de5a 100644 --- a/packages/svelte/src/internal/client/render.js +++ b/packages/svelte/src/internal/client/render.js @@ -3028,7 +3028,7 @@ export function createRoot(component, options) { /** * Mounts the given component to the given target and returns the accessors of the component and a function to destroy it. * - * If you need to interact with the component after mounting, use `create` instead. + * If you need to interact with the component after mounting, use `createRoot` instead. * * @template {Record} Props * @template {Record | undefined} Exports