From fec2650afb0be38ffd6d9af03f7941f49baa4190 Mon Sep 17 00:00:00 2001 From: Andrey Goncharov Date: Thu, 9 Jun 2022 03:34:04 -0700 Subject: [PATCH] Remove redundant GK definition from flipper-common Summary: Developers should use `getRenderHostInstance().GK(...)` instead Reviewed By: lblasa Differential Revision: D37034322 fbshipit-source-id: 41017f53a5256449252917a48fcd3a49a9b984c8 --- desktop/flipper-common/src/GK.tsx | 14 -------------- desktop/flipper-common/src/index.tsx | 1 - 2 files changed, 15 deletions(-) delete mode 100644 desktop/flipper-common/src/GK.tsx diff --git a/desktop/flipper-common/src/GK.tsx b/desktop/flipper-common/src/GK.tsx deleted file mode 100644 index 056083803..000000000 --- a/desktop/flipper-common/src/GK.tsx +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - * - * @format - */ - -export const GK = { - get(_name: string): boolean { - return false; - }, -}; diff --git a/desktop/flipper-common/src/index.tsx b/desktop/flipper-common/src/index.tsx index c99b69625..c9b5c702a 100644 --- a/desktop/flipper-common/src/index.tsx +++ b/desktop/flipper-common/src/index.tsx @@ -58,7 +58,6 @@ export { export {createControlledPromise} from './utils/controlledPromise'; export * from './utils/typeUtils'; export * from './utils/uuid'; -export * from './GK'; export * from './clientUtils'; export * from './settings'; export * from './PluginDetails';