From 122686b2a5aee7597649e8fa84ac36fafe006bc1 Mon Sep 17 00:00:00 2001 From: Xu Gao Date: Mon, 19 Oct 2020 17:22:59 -0700 Subject: [PATCH] fixces --- packages/tsx-editor/src/transpiler/transpileHelpers.test.ts | 2 +- packages/tsx-editor/src/utilities/defaultSupportedPackages.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/tsx-editor/src/transpiler/transpileHelpers.test.ts b/packages/tsx-editor/src/transpiler/transpileHelpers.test.ts index d415ae7521b602..77439f36d3b2fb 100644 --- a/packages/tsx-editor/src/transpiler/transpileHelpers.test.ts +++ b/packages/tsx-editor/src/transpiler/transpileHelpers.test.ts @@ -135,7 +135,7 @@ describe('_supportedPackageToGlobalMap', () => { '@fluentui/react': 'FluentUIReact', '@fluentui/date-time-utilities': 'FluentUIReact', '@fluentui/react-focus': 'FluentUIReact', - '@fluentui/foundation-legacy-legacy': 'FluentUIReact', + '@fluentui/foundation-legacy': 'FluentUIReact', '@uifabric/icons': 'FluentUIReact', '@uifabric/merge-styles': 'FluentUIReact', '@fluentui/style-utilities': 'FluentUIReact', diff --git a/packages/tsx-editor/src/utilities/defaultSupportedPackages.ts b/packages/tsx-editor/src/utilities/defaultSupportedPackages.ts index e888457231544b..526d6fff0b5067 100644 --- a/packages/tsx-editor/src/utilities/defaultSupportedPackages.ts +++ b/packages/tsx-editor/src/utilities/defaultSupportedPackages.ts @@ -59,7 +59,7 @@ if (typesContext) { // TODO: this probably needs to be dynamically generated so it doesn't break every time we // add a new component package exported by @fluentui/react { packageName: '@fluentui/react', loadTypes }, - { packageName: '@fluentui/foundation-legacy-legacy', loadTypes }, + { packageName: '@fluentui/foundation-legacy', loadTypes }, { packageName: '@uifabric/icons', loadTypes }, { packageName: '@uifabric/merge-styles', loadTypes }, { packageName: '@fluentui/react-focus', loadTypes },