diff --git a/change/@microsoft-fast-router-d8d52093-fa07-417d-a12d-acdab4a96101.json b/change/@microsoft-fast-router-d8d52093-fa07-417d-a12d-acdab4a96101.json new file mode 100644 index 00000000000..d6e89d4ac48 --- /dev/null +++ b/change/@microsoft-fast-router-d8d52093-fa07-417d-a12d-acdab4a96101.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Fixed an updated export from FAST element 2.0", + "packageName": "@microsoft/fast-router", + "email": "7559015+janechu@users.noreply.github.com", + "dependentChangeType": "patch" +} diff --git a/packages/web-components/fast-router/src/contributors.ts b/packages/web-components/fast-router/src/contributors.ts index fe070e5118e..f113acbc018 100644 --- a/packages/web-components/fast-router/src/contributors.ts +++ b/packages/web-components/fast-router/src/contributors.ts @@ -1,7 +1,7 @@ import { Behavior, HTMLDirective, - DOM, + Markup, ViewBehaviorTargets, } from "@microsoft/fast-element"; import { @@ -50,7 +50,7 @@ class NavigationContributorDirective extends HTMLDirective { } createPlaceholder(index: number) { - return DOM.createCustomAttributePlaceholder(index); + return Markup.attribute(index); } createBehavior(targets: ViewBehaviorTargets) {