feat: allow ad-hoc creation of new teams (#3964)
Co-authored-by: Tom Moor <tom@getoutline.com>
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
import slugify from "slugify"; // Slugify, escape, and remove periods from headings so that they are
|
||||
// compatible with url hashes AND dom selectors
|
||||
|
||||
export default function safeSlugify(text: string) {
|
||||
return `h-${escape(
|
||||
slugify(text, {
|
||||
lower: true,
|
||||
}).replace(".", "-")
|
||||
)}`;
|
||||
}
|
||||
Reference in New Issue
Block a user