refactor: rename component

This commit is contained in:
Ayo 2023-05-11 18:18:16 +02:00
parent e49f3ca831
commit 7764c3e06e
2 changed files with 2 additions and 2 deletions

View file

@ -2,8 +2,8 @@
import Form, { FormGroup } from "@astro-reactive/form";
import { Validators } from "@astro-reactive/validator";
import { extract } from "@extractus/article-extractor";
import Article from "../components/article.astro";
import { getParams, isURL } from "../utils";
import Post from "../components/post.astro";
const params = getParams(Astro.url);
const url: string = params?.url;
@ -31,4 +31,4 @@ const form = new FormGroup([
/>
<a href="https://github.com/ayoayco/cozy-reader" target="_blank">Source code</a>
<Article article={article} />
<Post article={article} />