Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 9087d32

Browse files
#15 Housekeeping
1 parent 95e2750 commit 9087d32

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

client/src/components/FiltersSideMenu/filters.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import utilityStyles from "../../styles/utility.module.css";
1818

1919
/**
2020
* SearchTabFilters - component containing all the filters on the search tab page
21-
* locations: the values for the location filter options
2221
* achievements: the values for the achievements filter options
2322
*/
2423
export default function SearchTabFilters({ achievements }) {

client/src/lib/company-attributes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export async function getAttributes(apiClient, cancelToken) {
2929
response = await apiClient.get(url, { cancelToken });
3030
} catch (error) {
3131
if (Axios.isCancel(error)) {
32-
return undefined;
32+
return [undefined, undefined];
3333
}
3434
console.log(error);
3535
alert(errorMessage);
@@ -52,7 +52,7 @@ export async function getAttributes(apiClient, cancelToken) {
5252
response = await apiClient.get(url, { cancelToken });
5353
} catch (error) {
5454
if (Axios.isCancel(error)) {
55-
return undefined;
55+
return [undefined, undefined];
5656
}
5757
console.log(error);
5858
alert(errorMessage);

0 commit comments

Comments
 (0)