Skip to content

Commit

Permalink
fix: Small tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
amaury1093 committed Dec 13, 2023
1 parent 7b3a21b commit 85416a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 1 addition & 5 deletions src/app/api/v0/check_email/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,7 @@ export async function POST(req: NextRequest): Promise<Response> {
.connect(process.env.RCH_AMQP_ADDR || "amqp://localhost")
.catch((err) => {
const message = `Error connecting to RabbitMQ: ${
(err as AggregateError).errors
? (err as AggregateError).errors
.map((e) => e.message)
.join(", ")
: err.message
err.errors || err.message
}`;

throw new Error(message);
Expand Down
1 change: 1 addition & 0 deletions src/components/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export function Nav(): React.ReactElement {
Help Center
</GLink>
</div>
<Spacer x={2} />
{user ? (
<Select
className={styles.dropdown}
Expand Down

1 comment on commit 85416a6

@vercel
Copy link

@vercel vercel bot commented on 85416a6 Dec 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.