Clean up
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
import parse from '../../../mfm/parse';
|
||||
|
||||
export default function(text: string) {
|
||||
if (!text) return [];
|
||||
return parse(text).filter(t => t.type === 'emoji' && t.name).map(t => (t as any).name);
|
||||
}
|
Reference in New Issue
Block a user