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

Commit 822494b

Browse files
#15 - Use config attributes
1 parent bac95f6 commit 822494b

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

client/src/config.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,4 @@ export default {
3737
clientId: process.env.REACT_APP_AUTH0_CLIENTID,
3838
audience: process.env.REACT_APP_AUTH0_AUDIENCE,
3939
},
40-
41-
REACT_APP_ATTRIBUTE_ID_LOCATION:
42-
process.env.REACT_APP_ATTRIBUTE_ID_LOCATION || "location",
4340
};

client/src/pages/Search/Global.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export default function SearchGlobal({ keyword }) {
116116
group: "Company attributes",
117117
active: false,
118118
};
119-
if (companyAttr.name === config.REACT_APP_ATTRIBUTE_ID_LOCATION) {
119+
if (companyAttr.name === config.STANDARD_USER_ATTRIBUTES.location) {
120120
filtersWithCompanyAttrs[FILTERS.LOCATIONS].id = companyAttr.id;
121121
}
122122
});

0 commit comments

Comments
 (0)