From 8768405e8032c3f5cde8611fe79ae8f371c5ed6d Mon Sep 17 00:00:00 2001 From: Andrey Goncharov Date: Mon, 20 Jun 2022 12:18:40 -0700 Subject: [PATCH] Use constants from flipper-frontend-core in flipper-ui-core Summary: See D37139129 Reviewed By: lblasa Differential Revision: D37238570 fbshipit-source-id: 5dbf6f179fc8957e074bad1e8f74e400644be049 --- desktop/flipper-frontend-core/src/index.tsx | 1 + desktop/flipper-ui-core/src/fb-stubs/constants.tsx | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/desktop/flipper-frontend-core/src/index.tsx b/desktop/flipper-frontend-core/src/index.tsx index a83b9940c..c8d6f87b8 100644 --- a/desktop/flipper-frontend-core/src/index.tsx +++ b/desktop/flipper-frontend-core/src/index.tsx @@ -22,3 +22,4 @@ export * from './plugins'; export {getPluginKey} from './utils/pluginKey'; export * from './flipperLibImplementation'; export * from './client/FlipperServerClient'; +export {default as frontendCoreConstants} from './fb-stubs/constants'; diff --git a/desktop/flipper-ui-core/src/fb-stubs/constants.tsx b/desktop/flipper-ui-core/src/fb-stubs/constants.tsx index abfc7f6fa..2973ff051 100644 --- a/desktop/flipper-ui-core/src/fb-stubs/constants.tsx +++ b/desktop/flipper-ui-core/src/fb-stubs/constants.tsx @@ -8,13 +8,14 @@ */ import {DeviceOS} from 'flipper-plugin'; +import {frontendCoreConstants} from 'flipper-frontend-core'; export default Object.freeze({ + ...frontendCoreConstants, + // Enables the flipper data to be exported through shareabale link ENABLE_SHAREABLE_LINK: false, - IS_PUBLIC_BUILD: true, - FEEDBACK_GROUP_LINK: 'https://github.com/facebook/flipper/issues', // Workplace Group ID's