Skip to content

Commit 9e132c7

Browse files
authored
Update 60-remote-functions.md (#14097)
1 parent 460108e commit 9e132c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Query functions can accept an argument, such as the `slug` of an individual post
113113

114114
let { params } = $props();
115115

116-
const post = getPost(params.slug);
116+
const post = await getPost(params.slug);
117117
</script>
118118

119119
<h1>{post.title}</h1>

0 commit comments

Comments
 (0)