minimize content in miniToc prop (#28522)
* make miniToc pure data and no html strings * fixups * minimize content in miniToc prop * minimize content in miniToc prop * some types refactoring * fix tests
This commit is contained in:
@@ -8,7 +8,7 @@ export type LearningTrack = {
|
||||
}
|
||||
|
||||
export type MiniTocItem = {
|
||||
platform: string
|
||||
platform?: string
|
||||
contents: {
|
||||
href: string
|
||||
title: string
|
||||
|
||||
Reference in New Issue
Block a user