From 3da43f135e301280f8acbda611d5da08bce137f5 Mon Sep 17 00:00:00 2001 From: Rohin Bhargava Date: Fri, 20 Dec 2024 19:25:04 +0000 Subject: [PATCH] add eslint disablement back --- .../fern-docs/ui/src/components/MaybeEnvironmentDropdown.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fern-docs/ui/src/components/MaybeEnvironmentDropdown.tsx b/packages/fern-docs/ui/src/components/MaybeEnvironmentDropdown.tsx index 279003657e..ee2af62fe8 100644 --- a/packages/fern-docs/ui/src/components/MaybeEnvironmentDropdown.tsx +++ b/packages/fern-docs/ui/src/components/MaybeEnvironmentDropdown.tsx @@ -64,7 +64,7 @@ export function MaybeEnvironmentDropdown({ // TODO: clean up this component useEffect(() => { if ( - + // eslint-disable-next-line @typescript-eslint/prefer-optional-chain url && url.host && url.host !== "" &&