From 767c9f9b3768a45d08c405e7883673f0db8bbc03 Mon Sep 17 00:00:00 2001 From: Bernardo Sunderhus Date: Tue, 22 Oct 2024 13:02:56 +0200 Subject: [PATCH] chore: remove console --- .../react-utilities/src/compose/memoize.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/react-components/react-utilities/src/compose/memoize.ts b/packages/react-components/react-utilities/src/compose/memoize.ts index ab082d4369ec2..ffe5ba39a9d9e 100644 --- a/packages/react-components/react-utilities/src/compose/memoize.ts +++ b/packages/react-components/react-utilities/src/compose/memoize.ts @@ -32,13 +32,6 @@ export const createMemoize = () => { const currentOwner = getCurrentOwner(); if (currentOwner === null) { - if (process.env.NODE_ENV !== 'production') { - // eslint-disable-next-line no-console - console.error(/** #__DE-INDENT__ */ ` - @fluentui/react-utilities [slot]: - slot method was called outside of a component render. - `); - } return init(); }