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:
@@ -85,8 +85,8 @@ export const ApiRunnerParamArrayInput = ({
|
||||
Array.isArray(prev[0])
|
||||
? [...prev[0]]
|
||||
: typeof prev[0] === "object"
|
||||
? Object.assign({}, prev[0])
|
||||
: prev[0],
|
||||
? Object.assign({}, prev[0])
|
||||
: prev[0],
|
||||
])
|
||||
}}
|
||||
className="mt-0.5"
|
||||
|
||||
@@ -94,8 +94,8 @@ export const ApiRunnerParamInput = ({
|
||||
typeof paramValue === "string"
|
||||
? (paramValue as string)
|
||||
: typeof paramValue === "number"
|
||||
? (paramValue as number)
|
||||
: `${paramValue}`
|
||||
? (paramValue as number)
|
||||
: `${paramValue}`
|
||||
}
|
||||
className="w-full"
|
||||
/>
|
||||
|
||||
@@ -163,8 +163,8 @@ export const ApiRunner = React.forwardRef<HTMLDivElement, ApiRunnerProps>(
|
||||
!responseCode
|
||||
? "red"
|
||||
: responseCode.startsWith("2")
|
||||
? "green"
|
||||
: "red"
|
||||
? "green"
|
||||
: "red"
|
||||
}
|
||||
/>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user