chore: fix outdate reminder grammar
This commit is contained in:
parent
95e5a1618a
commit
65c5fdeae1
1 changed files with 4 additions and 4 deletions
|
@ -7,8 +7,8 @@ const dateDelta = dateNow - lastUpdated
|
|||
const Day = 1000 * 60 * 60 * 24
|
||||
const daysDelta = Math.round(dateDelta / Day)
|
||||
---
|
||||
{ daysDelta >= 30 &&
|
||||
{ ( lastUpdatedAt && daysDelta >= 30 ) &&
|
||||
<Callout type="warning" icon="📅">
|
||||
This article was updated on {daysDelta} days ago. The content may be outdated.
|
||||
This article was updated {daysDelta} days ago. The content may be outdated.
|
||||
</Callout>
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue