diff --git a/packages/fern-docs/ui/src/components/MaybeEnvironmentDropdown.tsx b/packages/fern-docs/ui/src/components/MaybeEnvironmentDropdown.tsx index 279003657e..a3525c3cbf 100644 --- a/packages/fern-docs/ui/src/components/MaybeEnvironmentDropdown.tsx +++ b/packages/fern-docs/ui/src/components/MaybeEnvironmentDropdown.tsx @@ -64,7 +64,6 @@ export function MaybeEnvironmentDropdown({ // TODO: clean up this component useEffect(() => { if ( - url && url.host && url.host !== "" && diff --git a/packages/parsers/src/__test__/createSnapshots.test.ts b/packages/parsers/src/__test__/createSnapshots.test.ts index 1ad496cda5..ae2f4ed2de 100644 --- a/packages/parsers/src/__test__/createSnapshots.test.ts +++ b/packages/parsers/src/__test__/createSnapshots.test.ts @@ -59,12 +59,10 @@ describe("OpenAPI snapshot tests", () => { // Create snapshot if (errors.length > 0) { - console.error("errors:", errors); } expect(errors).toHaveLength(0); if (warnings.length > 0) { - console.warn("warnings:", warnings); } // @ts-expect-error id is not part of the expected output