Skip to content

Commit

Permalink
dont mistake $handle for query
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecAivazis committed Mar 28, 2024
1 parent a45e28e commit 7e58bea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/houdini/src/lib/router/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -387,5 +387,5 @@ export async function extractQueries(source: string): Promise<string[]> {
return []
}

return props.filter((p) => p !== 'children')
return props.filter((p) => p !== 'children' && !p.endsWith('$handle'))
}

0 comments on commit 7e58bea

Please sign in to comment.