refactor: improve code quality
This commit is contained in:
1 parent
743d8dd9c2
commit
003c644146
20 files changed
+76
-69
No files matched your search
@@ -10,9 +10,9 @@ interface Props {
|
||||
published: Date;
|
||||
tags: string[];
|
||||
category: string;
|
||||
hideTagsForMobile: boolean;
|
||||
hideTagsForMobile?: boolean;
|
||||
}
|
||||
const {published, tags, category, hideTagsForMobile} = Astro.props;
|
||||
const {published, tags, category, hideTagsForMobile = false} = Astro.props;
|
||||
const className = Astro.props.class;
|
||||
---
|
||||
|
||||
|
||||
Reference in new issue
Block a user