mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-28 05:10:17 +08:00
Cleanup unused function
This commit is contained in:
parent
fecad1ee46
commit
e972dfad2f
BIN
favicon.ico
Normal file
BIN
favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.1 KiB |
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user