Reinitialized commit. Update and actors overview with some filters.
This commit is contained in:
9
src/get-title.js
Normal file
9
src/get-title.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import config from 'config';
|
||||
|
||||
export default function getTitle(location) {
|
||||
if (!location) {
|
||||
return config.title;
|
||||
}
|
||||
|
||||
return `${config.title} - ${location.slice(0, 1).toUpperCase()}${location.slice(1)}`;
|
||||
}
|
||||
Reference in New Issue
Block a user