Skip to content

Commit

Permalink
remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
JefQuidousse2 committed Oct 8, 2024
1 parent 2819051 commit 09a1deb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/app/find-the-expert/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ const ContentSection = ({ role, tech } : {role:string, tech:string}) => (
);

async function logMetric(role: string, tech: string) {
console.log("LOGGING");
switch (true) {
case(role != undefined && tech == undefined):
await logUsageMetric(`Find The Expert Page Filtered For Role: ${role}`);
Expand Down
1 change: 0 additions & 1 deletion src/components/ui/search-expert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ const ShowTechSearchWrapper = ({ roles } : { roles: Section[]}) => {
)

function onSubmit(values: z.infer<typeof formSchema>) {
console.log(values);
const role2 = values.role != undefined ? values.role.length != 0 && values.role != "No role" ? `role=${values.role}` : "" : "";
const tech2 = values.tech != undefined ? values.tech.length != 0 ? `&tech=${values.tech}` : "" : "";
route.push(`${path}?${role2}${tech2}`);
Expand Down

0 comments on commit 09a1deb

Please sign in to comment.