diff --git a/desktop/flipper-ui-core/src/fb-stubs/ErrorReporter.tsx b/desktop/flipper-ui-core/src/fb-stubs/ErrorReporter.tsx index 77fbc283a..299bd99f7 100644 --- a/desktop/flipper-ui-core/src/fb-stubs/ErrorReporter.tsx +++ b/desktop/flipper-ui-core/src/fb-stubs/ErrorReporter.tsx @@ -13,7 +13,7 @@ * so that all logged errors get reported to this class. */ export function cleanStack(_stack: string, _loc?: string) {} -import ScribeLogger from './ScribeLogger'; +import {ScribeLogger} from 'flipper-common'; export default class ErrorReporter { constructor(_scribeLogger: ScribeLogger) {} diff --git a/desktop/flipper-ui-core/src/fb-stubs/ScribeLogger.tsx b/desktop/flipper-ui-core/src/fb-stubs/ScribeLogger.tsx deleted file mode 100644 index 325042c64..000000000 --- a/desktop/flipper-ui-core/src/fb-stubs/ScribeLogger.tsx +++ /dev/null @@ -1,18 +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 type ScribeMessage = { - category: string; - message: string; -}; - -export default class ScribeLogger { - constructor() {} - send(_message: ScribeMessage) {} -}