Skip to content

Commit a279fa7

Browse files
committed
ref(stories): Collapse app root
We don't really care about this in the story tree
1 parent c6d1348 commit a279fa7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

static/app/views/stories/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export default function Stories({location}: Props) {
3434
<StoryTree
3535
files={storiesContext()
3636
.files()
37+
.map(s => s.replace(/^app\//, ''))
3738
.filter(s => s.toLowerCase().includes(searchTerm))}
3839
/>
3940
</TreeContainer>

0 commit comments

Comments
 (0)