diff --git a/packages/tsx-editor/src/transpiler/transpileHelpers.test.ts b/packages/tsx-editor/src/transpiler/transpileHelpers.test.ts index d415ae7521b60..77439f36d3b2f 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 e888457231544..526d6fff0b506 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 },