Cleanup unused function

This commit is contained in:
Michael Shilman 2017-05-03 00:19:56 +10:00
parent fecad1ee46
commit e972dfad2f
2 changed files with 0 additions and 9 deletions

BIN
favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

View File

@ -34,15 +34,6 @@ const getSelectedItem = (children, sectionId) => {
}
}
const getCategories = () => {
const sections = Object.keys(config.docSections)
return sections.map(key => ({
id: key,
title: key.toUpperCase(),
}))
}
const parsePath = (path) => {
const comps = path.split('/')
const [empty, itemId, sectionId, catId, ...rest] = comps.reverse()