Skip to content

Commit f5c5ed1

Browse files
committed
UPDATE: async fix in sitemap
1 parent a4298af commit f5c5ed1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

TODO.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# To Do
22

3+
- [ ] library -> collection/pattern
34
- [ ] copy to clipboard for variations
45
- [ ] search.html
56
- [ ] test button for variations

app/routes/sitemap[.]xml.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export async function loader() {
1616
lines.push(urlLine('/library/tags.html'));
1717
lines.push(urlLine('/search.html'));
1818

19-
initialize();
19+
await initialize();
2020
for (const entry of getAll()) {
2121
lines.push(urlLine(`/library/${entry.handle}/`));
2222
}

0 commit comments

Comments
 (0)