Remove addLeadingSlash util

This commit is contained in:
Michael Jackson
2019-07-10 21:59:23 -07:00
parent b2d8e28344
commit ab83549744
4 changed files with 35 additions and 48 deletions

View File

@ -1,3 +0,0 @@
export default function addLeadingSlash(name) {
return name.charAt(0) === '/' ? name : '/' + name;
}