Skip to content

Commit

Permalink
style: fix eslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pure-js committed Oct 31, 2023
1 parent 05ff4dd commit 9aaff80
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/PostPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export interface BlogPostProps {
date?: string;
htmlDatetime?: string;
userId: string;
onDelete?: (arg0: string) => void;
}

export interface IUser {
Expand All @@ -71,7 +72,6 @@ export interface IUser {
dob: string;
about?: string;
createdAt: number;
onDelete?: (arg0: string) => void;
}

function BlogPost({
Expand Down
1 change: 0 additions & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export function PostList() {
return posts
? posts.map((post: IBlogPost) => {
const { date, htmlDatetime } = timestampToLocaleString(post.createdAt);
console.log(date, htmlDatetime);
return (
<Fragment key={post.id}>
<PostPreview
Expand Down

0 comments on commit 9aaff80

Please sign in to comment.