docs: update to next 15 + eslint 9 (#9839)
* update next * updated react * update eslint * finish updating eslint * fix content lint errors * fix docs test * fix vale action * fix installation errors
This commit is contained in:
@@ -94,8 +94,8 @@ const TagOperationParametersObject = ({
|
||||
properties[property2].isRequired
|
||||
? 0
|
||||
: properties[property1].isRequired
|
||||
? -1
|
||||
: 1
|
||||
? -1
|
||||
: 1
|
||||
}
|
||||
)
|
||||
const content = (
|
||||
|
||||
@@ -36,8 +36,8 @@ const TagOperationParametersUnion = ({
|
||||
const objectSchema = schema.anyOf
|
||||
? schema.anyOf.find((item) => item.type === "object" && item.properties)
|
||||
: schema.allOf
|
||||
? mergeAllOfTypes(schema)
|
||||
: undefined
|
||||
? mergeAllOfTypes(schema)
|
||||
: undefined
|
||||
|
||||
if (!objectSchema) {
|
||||
return (
|
||||
|
||||
@@ -116,6 +116,7 @@ const TagSectionSchema = ({ schema, tagName }: TagSectionSchemaProps) => {
|
||||
return (
|
||||
<Suspense>
|
||||
<InView
|
||||
// @ts-expect-error Type is being read as undefined
|
||||
as="div"
|
||||
id={schemaSlug}
|
||||
initialInView={true}
|
||||
|
||||
@@ -14,9 +14,7 @@ type TagsProps = {
|
||||
const Tags = ({ tags }: TagsProps) => {
|
||||
return (
|
||||
<Suspense>
|
||||
{tags?.map((tag) => (
|
||||
<TagSection tag={tag} key={tag.name} />
|
||||
))}
|
||||
{tags?.map((tag) => <TagSection tag={tag} key={tag.name} />)}
|
||||
</Suspense>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user