Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
  • Loading branch information
lifeart committed Sep 15, 2024
1 parent 7094b2f commit 2d8a27f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export async function syncDom() {
// sort shared tags by id
const sharedTagsArray = Array.from(sharedTags);
// sort tags in order of creation to avoid stale logic
sharedTags.clear();
sharedTagsArray.sort((a, b) => a.id - b.id);
for (const tag of sharedTagsArray) {
await executeTag(tag);
Expand Down

0 comments on commit 2d8a27f

Please sign in to comment.