Compare commits

..

No commits in common. "59b51885d3e5f542b7c75a3c0ef45e8967e38acd" and "9aab22ab39459d3e9f25d892cf89fde5a906e32d" have entirely different histories.

View File

@ -8,8 +8,3 @@ export const getCsrfToken = () => {
} }
export const getSlug = () => localStorage.getItem('slug') || 'default'; export const getSlug = () => localStorage.getItem('slug') || 'default';
// From https://stackoverflow.com/a/1026087/3607039
export const capitalize = (val:string) => {
return String(val).charAt(0).toUpperCase() + String(val).slice(1);
}