removed unused function
This commit is contained in:
@ -1,10 +1,4 @@
|
|||||||
import AuthenticationPage from './AuthenticationPage';
|
import AuthenticationPage from './AuthenticationPage';
|
||||||
import { createEntry } from '../../valueObjects/Entry';
|
|
||||||
|
|
||||||
function getSlug(path) {
|
|
||||||
const m = path.match(/([^\/]+?)(\.[^\/\.]+)?$/);
|
|
||||||
return m && m[1];
|
|
||||||
}
|
|
||||||
|
|
||||||
function getFile(path) {
|
function getFile(path) {
|
||||||
const segments = path.split('/');
|
const segments = path.split('/');
|
||||||
|
Reference in New Issue
Block a user