Compare commits
No commits in common. "59b51885d3e5f542b7c75a3c0ef45e8967e38acd" and "9aab22ab39459d3e9f25d892cf89fde5a906e32d" have entirely different histories.
59b51885d3
...
9aab22ab39
@ -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);
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user