feat: feed feature, typescript, remove google, fix errs & warns
publish / Build-and-publish (push) Successful in 13m32s
publish / Build-and-publish (push) Successful in 13m32s
This commit is contained in:
1 parent
2c42ecae5f
commit
8a10d127c1
55 files changed
+1887
-587
No files matched your search
@@ -7,7 +7,7 @@ const extractContent = (s: string): string => {
|
||||
return s
|
||||
}
|
||||
const getDescription = (content: string): string => {
|
||||
return extractContent(content).substr(0, 100) + '...'
|
||||
return extractContent(content).slice(0, 100) + '...'
|
||||
}
|
||||
|
||||
export default getDescription
|
||||
Reference in new issue
Block a user