docs: fix helloWorldLoader function definition (#8429)

- Make helloWorldLoader async to follow the type definition

Closes #8428
This commit is contained in:
Viktor Bakurin authored and GitHub committed 2024-08-05 07:23:49 +00:00
1 parent a392b2be0c
commit ec0a68ec88
3 files changed
+3 -3

No files matched your search

@@ -90,7 +90,7 @@ type ModuleOptions = {
capitalize?: boolean
}
export default function helloWorldLoader({
export default async function helloWorldLoader({
options,
}: LoaderOptions<ModuleOptions>) {