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:
@@ -45,7 +45,11 @@ export const useRequestRunner = ({
|
||||
})
|
||||
.then((data) => {
|
||||
const stringifiedData = JSON.stringify(data, undefined, 2)
|
||||
replaceLog ? replaceLog(stringifiedData) : pushLog(stringifiedData)
|
||||
if (replaceLog) {
|
||||
replaceLog(stringifiedData)
|
||||
} else {
|
||||
pushLog(stringifiedData)
|
||||
}
|
||||
})
|
||||
.catch((error) => {
|
||||
pushLog(`\nAn error ocurred: ${JSON.stringify(error, undefined, 2)}`)
|
||||
|
||||
Reference in New Issue
Block a user