-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor post sorting, update blog post link (#295)
* Comment out `console.log` in `chat.js` * Update path to new blog post name * Update sorting logic in getSortedPosts.ts Use `valueOf()` instead of `Date.parse` and `toString()` to compare dates in `getSortedPosts.ts` because the `pubDate` will always be a `Date` object. Converting to string and parsing that string for a date is unnecessary.
- Loading branch information
1 parent
578b215
commit b11f47f
Showing
3 changed files
with
3 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters