Skip to content

Commit

Permalink
fiw linting
Browse files Browse the repository at this point in the history
  • Loading branch information
JefQuidousse2 committed Oct 25, 2024
1 parent eba55ca commit e548329
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/app/find-the-expert/[role]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ const ContentSection = () => (
</>
);

const FindTheExpertPage = async (context: { params: { role: any; }; }) => {
const FindTheExpertPage = async () => {
const session = await getServerAuthSession();
api.usageMetricLogger.logUsageMetric.mutate({logMessage: 'find-the-expert-page-filtered-on-role'});
await api.usageMetricLogger.logUsageMetric.mutate({logMessage: 'find-the-expert-page-filtered-on-role'});

return (
<div className="container flex flex-col items-center justify-center gap-12 px-4 py-16">
Expand Down
1 change: 0 additions & 1 deletion src/app/result/[role]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React, { Suspense } from "react";
import { db } from "~/server/db";
import {
type Role,
type QuestionResult,
type TransformedData,
} from "~/models/types";
Expand Down
4 changes: 2 additions & 2 deletions src/components/additional-buttons-homepage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ const Buttons = ({ session }: { session: Session | null }) => {
<ArrowRightDarkModeFriendly />
</Button>
<Button
onClick={() => {
onClick={async () => {
handleLogging();
signIn("azure-ad", { callbackUrl: "/find-the-expert/general" });
await signIn("azure-ad", { callbackUrl: "/find-the-expert/general" });
}
}
variant="outline"
Expand Down

0 comments on commit e548329

Please sign in to comment.