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 nicholasrice committed May 5, 2022
1 parent ce0e0a7 commit ca5d1d2
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 ca5d1d2

Please sign in to comment.