Skip to content

Commit

Permalink
update: enter bill's name and number of member
Browse files Browse the repository at this point in the history
  • Loading branch information
K1ethoang committed May 15, 2024
1 parent a2de480 commit c0af464
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default component$(() => {
billName: billData.billName,
memberCount: billData.memberCount.toString()
});
await nav("/start/"+searchParams.toString());
await nav("/start?"+searchParams.toString());
});

return (
Expand Down
2 changes: 1 addition & 1 deletion src/routes/start/[...id]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default component$(() => {
const { params } = useLocation();

const location = useLocation();
const searchParams = new URLSearchParams(location.params);
const searchParams = new URLSearchParams(location.url.search);

// eslint-disable-next-line qwik/no-use-visible-task
useVisibleTask$(async () => {
Expand Down

0 comments on commit c0af464

Please sign in to comment.