refactor: rename component
This commit is contained in:
parent
e49f3ca831
commit
7764c3e06e
2 changed files with 2 additions and 2 deletions
|
@ -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} />
|
||||
|
|
Loading…
Reference in a new issue