Skip to content

Commit 221a680

Browse files
authored
upgrade course-search-utils (#2656)
* upgrade course-search-utils * remove ts-expect-error directives
1 parent e1de652 commit 221a680

File tree

4 files changed

+16
-20
lines changed

4 files changed

+16
-20
lines changed

frontends/main/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"@ebay/nice-modal-react": "^1.2.13",
1414
"@emotion/cache": "^11.13.1",
1515
"@emotion/styled": "^11.11.0",
16-
"@mitodl/course-search-utils": "^3.4.1",
16+
"@mitodl/course-search-utils": "^3.5.0",
1717
"@mitodl/mitxonline-api-axios": "^2025.10.21",
1818
"@mitodl/smoot-design": "^6.17.1",
1919
"@next/bundle-analyzer": "^14.2.15",

frontends/main/src/app/c/[channelType]/[name]/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ const Page: React.FC<PageProps<"/c/[channelType]/[name]">> = async ({
9393
)
9494

9595
const searchRequest = getSearchParams({
96-
// @ts-expect-error Local openapi client https://www.npmjs.com/package/@mitodl/open-api-axios
97-
// out of sync while we adding an enum value.
9896
requestParams: validateRequestParams(search),
9997
constantSearchParams,
10098
facetNames,

frontends/main/src/app/search/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ const Page: React.FC<PageProps<"/search">> = async ({ searchParams }) => {
3838
}
3939

4040
const params = getSearchParams({
41-
// @ts-expect-error Local openapi client https://www.npmjs.com/package/@mitodl/open-api-axios
42-
// out of sync while we adding an enum value.
4341
requestParams: validateRequestParams(search),
4442
constantSearchParams: {},
4543
facetNames,

yarn.lock

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)