mirror of
https://github.com/supabase/supabase.git
synced 2026-10-08 02:45:07 +03:00
fix: BlogListItem props
This commit is contained in:
1 parent
3b1dcfb2f1
commit
ccefa95d77
2 files changed
+2
-2
No files matched your search
@@ -9,7 +9,7 @@ interface Props {
|
||||
|
||||
const BlogListItem = ({ post }: Props) => {
|
||||
// @ts-ignore
|
||||
const authorArray = blog.author.split(',')
|
||||
const authorArray = post.author.split(',')
|
||||
|
||||
const author = []
|
||||
for (let i = 0; i < authorArray.length; i++) {
|
||||
|
||||
@@ -93,8 +93,8 @@ function BlogPostPage(props: any) {
|
||||
|
||||
const author = []
|
||||
for (let i = 0; i < authorArray.length; i++) {
|
||||
// @ts-ignore
|
||||
author.push(
|
||||
// @ts-ignore
|
||||
authors.find((authors: string) => {
|
||||
// @ts-ignore
|
||||
return authors.author_id === authorArray[i]
|
||||
|
||||
Reference in new issue
Block a user