chore: typo

pull/384/head
Evan You 4 years ago
parent 17839ef892
commit e01b5a350c

@ -12,7 +12,7 @@ export const slugify = (str: string): string => {
.replace(rControl, '') .replace(rControl, '')
// Replace special characters // Replace special characters
.replace(rSpecial, '-') .replace(rSpecial, '-')
// Remove continuos separators // Remove continuous separators
.replace(/\-{2,}/g, '-') .replace(/\-{2,}/g, '-')
// Remove prefixing and trailing separators // Remove prefixing and trailing separators
.replace(/^\-+|\-+$/g, '') .replace(/^\-+|\-+$/g, '')

Loading…
Cancel
Save