mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
fixed date on recent items
This commit is contained in:
parent
8a37fa1f1b
commit
fc57a6224b
2 changed files with 3 additions and 8 deletions
|
@ -80,11 +80,6 @@ export const formatText = (text: string): string =>
|
|||
.replace(/:\|--\|/gim, '://')
|
||||
.split('\n')
|
||||
.map(el => `<p>${el}</p>`)
|
||||
// .map((el, index) =>
|
||||
// index === 0
|
||||
// ? `${author ? `<p><b class="comment-author">${author}: </b>` : ''}${el}</p>`
|
||||
// : `<p>${el}</p>`
|
||||
// )
|
||||
.join('');
|
||||
|
||||
export const formatCommentText = (author: string, text: string): string =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue