Skip to content

Commit

Permalink
fix: make sure qr scan redirects to correct url to be able to update …
Browse files Browse the repository at this point in the history
…position using usePosition hook
  • Loading branch information
DonKoko committed Jun 24, 2024
1 parent a8c2729 commit 7abdcc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/qr+/$qrId.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export async function loader({ context, request, params }: LoaderFunctionArgs) {
}

return redirect(
`/assets/${qr.assetId}?ref=qr&scanId=${scan.id}&qrId=${qr.id}`,
`/assets/${qr.assetId}/overview?ref=qr&scanId=${scan.id}&qrId=${qr.id}`,
{
headers,
}
Expand Down

0 comments on commit 7abdcc3

Please sign in to comment.