Skip to content

Commit

Permalink
fixes scanner page
Browse files Browse the repository at this point in the history
  • Loading branch information
xwilson03 committed Aug 15, 2024
1 parent 73a92be commit 5a5edad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/web/src/app/admin/scanner/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default async function Page({
);
}

if (searchParams.user) {
if (!searchParams.user) {
return (
<div>
<PassScanner
Expand Down Expand Up @@ -74,7 +74,7 @@ export default async function Page({
return [null, scanUser];
}
});

return (
<div>
<PassScanner
Expand Down

0 comments on commit 5a5edad

Please sign in to comment.