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
/
useIsInboxElectronApp.ts
blob
2479539f693b5f29ad825a234c5aca2e370c4b3f
1
import useIsElectronApp from './useIsElectronApp';
2
3
const useIsInboxElectronApp = () => {
4
const {
5
isElectron,
6
isElectronDisabled,
7
isElectronOnMac,
8
isElectronOnWindows,
9
isSupportedElectronApp,
10
isElectronEnabled,
11
} = useIsElectronApp('DisableElectronMail');
12
13
return {
14
isElectron,
15
isElectronDisabled,
16
isElectronOnMac,
17
isElectronOnWindows,
18
isSupportedElectronApp,
19
isElectronEnabled,
20
};
21
};
22
23
export default useIsInboxElectronApp;