Merge pull request 'Restore function removed by bad merge' (#129) from fix/bad-merge into main
Reviewed-on: #129
This commit is contained in:
commit
59b51885d3
@ -8,3 +8,8 @@ export const getCsrfToken = () => {
|
||||
}
|
||||
|
||||
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