fixed warnings and added archive sorting
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
---
|
||||
import { format, add } from "date-fns";
|
||||
import FormattedDate from "@components/FormattedDate.astro";
|
||||
|
||||
interface Props {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
import { format, add } from "date-fns";
|
||||
|
||||
interface Props {
|
||||
date: String;
|
||||
date: Date;
|
||||
}
|
||||
|
||||
const { date } = Astro.props;
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
const { pathname } = Astro.url;
|
||||
console.log(pathname);
|
||||
|
||||
const navLinks = [
|
||||
{ label: "Blog", icon: "website-with-texticonImage24px", path: "/" },
|
||||
|
||||
Reference in New Issue
Block a user