mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-22 05:27:00 +02:00
fix(v2): Allow null as valid for title of item in footer links (#4267)
This commit is contained in:
parent
a8595233a8
commit
333545aa97
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@ const ThemeConfigSchema = Joi.object({
|
||||||
links: Joi.array()
|
links: Joi.array()
|
||||||
.items(
|
.items(
|
||||||
Joi.object({
|
Joi.object({
|
||||||
title: Joi.string(),
|
title: Joi.string().allow(null),
|
||||||
items: Joi.array().items(FooterLinkItemSchema).default([]),
|
items: Joi.array().items(FooterLinkItemSchema).default([]),
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue