mirror of
https://github.com/saicaca/fuwari.git
synced 2026-01-14 00:02:53 +01:00
refactor: improve code quality
This commit is contained in:
@@ -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