Skip to content

Commit

Permalink
Remove unused leftover _uid
Browse files Browse the repository at this point in the history
  • Loading branch information
davelopez committed Apr 6, 2024
1 parent 2b1e796 commit a8e88d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function _elementsSetUp() {
function _ensureElementIds() {
workingElements.value.forEach((element) => {
if (!Object.prototype.hasOwnProperty.call(element, "id")) {
element.id = element._uid as string;
console.warn("Element missing id", element);
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function _elementsSetUp() {
function _ensureElementIds() {
workingElements.value.forEach((element) => {
if (!Object.prototype.hasOwnProperty.call(element, "id")) {
element.id = element._uid as string;
console.warn("Element missing id", element);
}
});
Expand Down

0 comments on commit a8e88d5

Please sign in to comment.