Skip to content

Commit

Permalink
Fixed an updated export from FAST element 2.0 (#5653)
Browse files Browse the repository at this point in the history
* Fixed an updated export from FAST element 2.0

* Change files
  • Loading branch information
janechu authored and EisenbergEffect committed May 31, 2022
1 parent a350e00 commit 5f2fe7d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Fixed an updated export from FAST element 2.0",
"packageName": "@microsoft/fast-router",
"email": "[email protected]",
"dependentChangeType": "patch"
}
4 changes: 2 additions & 2 deletions packages/web-components/fast-router/src/contributors.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {
Behavior,
HTMLDirective,
DOM,
Markup,
ViewBehaviorTargets,
} from "@microsoft/fast-element";
import {
Expand Down Expand Up @@ -50,7 +50,7 @@ class NavigationContributorDirective extends HTMLDirective {
}

createPlaceholder(index: number) {
return DOM.createCustomAttributePlaceholder(index);
return Markup.attribute(index);
}

createBehavior(targets: ViewBehaviorTargets) {
Expand Down

0 comments on commit 5f2fe7d

Please sign in to comment.