repo.or.cz
/
ProtonMail-WebClient.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Cleanup - unused files / unused exports / duplicate exports
[ProtonMail-WebClient.git]
/
packages
/
components
/
hooks
/
useApiStatus.ts
blob
86def877fe031c21c3ce3d3e75a7d745992ab4d6
1
import { useContext } from 'react';
2
3
import ContextApi from '../containers/api/apiStatusContext';
4
5
const useApiStatus = () => {
6
return useContext(ContextApi);
7
};
8
9
export default useApiStatus;