Skip to content

Commit 8bf6fb3

Browse files
barbara-chavesKevSanchez
authored andcommitted
Fix build errors
1 parent 6e25997 commit 8bf6fb3

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

client/.eslintrc.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@
44
"plugin:@typescript-eslint/recommended",
55
"next/core-web-vitals"
66
],
7-
"ignorePatterns": ["src/types/generated/*"]
7+
"ignorePatterns": ["src/types/generated/*"],
8+
"rules": {
9+
"@typescript-eslint/no-unused-vars": "warn",
10+
}
811
}

client/src/lib/localized-query.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export const useGetBySlug = <
100100
() =>
101101
getBySlugIdQueryOptions(id, restParams, {
102102
query: {
103-
// @ts-ignore: select is not well typed
103+
// @ts-expect-error: select is not well typed
104104
select: (response) => {
105105
const data = response as ResponseData;
106106
const attributes = data?.data?.attributes;

cms/src/extensions/documentation/documentation/1.0.0/full_documentation.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"name": "Apache 2.0",
2222
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
2323
},
24-
"x-generation-date": "2024-11-21T16:57:49.616Z"
24+
"x-generation-date": "2024-11-21T17:31:06.318Z"
2525
},
2626
"servers": [
2727
{

0 commit comments

Comments
 (0)