Skip to content

Commit 2a30f3d

Browse files
fix(qwik-nx): use location.url.searchParams in the "flower" route template
1 parent 282ad2b commit 2a30f3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/qwik-nx/src/generators/application/files/src/routes/flower/index.tsx__template__

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default component$(() => {
3535
}}
3636
class={{
3737
host: true,
38-
pride: loc.query['pride'] === 'true',
38+
pride: loc.url.searchParams.get('pride') === 'true',
3939
}}
4040
>
4141
{Array.from({ length: state.number }, (_, i) => (

0 commit comments

Comments
 (0)