Skip to content

Commit

Permalink
Merge pull request #155 from NIH-NCPI/yc/FD-1844
Browse files Browse the repository at this point in the history
FD-1844: UCUM Codes for Units
  • Loading branch information
yelenacox authored Dec 13, 2024
2 parents dfbe0b2 + 0612179 commit 7cc6c19
Show file tree
Hide file tree
Showing 10 changed files with 153 additions and 667 deletions.
3 changes: 3 additions & 0 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ function App() {
const [selectedKey, setSelectedKey] = useState(null);
const [user, setUser] = useState(null);
const [ontologyForPagination, setOntologyForPagination] = useState([]);
const [ucumCodes, setUcumCodes] = useState([]);

message.config({
top: '25vh',
Expand Down Expand Up @@ -79,6 +80,8 @@ function App() {
setImportState,
ontologyForPagination,
setOntologyForPagination,
ucumCodes,
setUcumCodes,
}}
>
<AppRouter />
Expand Down
1 change: 1 addition & 0 deletions src/components/Manager/FetchManager.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { ontologyReducer } from './Utilitiy';
export const getAll = (vocabUrl, name, navigate) => {
return fetch(`${vocabUrl}/${name}`, {
method: 'GET',
credentials: 'include',
headers: {
'Content-Type': 'application/json',
},
Expand Down
Loading

0 comments on commit 7cc6c19

Please sign in to comment.