Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git] / applications / drive / src / app / components / sections / useIsEditEnabled.tsx
bloba6a10bd0ad7c9bdcc1f3031278fee88429f1f775
1 import { useEarlyAccess } from '@proton/components';
2 import { isMobile } from '@proton/shared/lib/helpers/browser';
4 export default function useIsEditEnabled() {
5     const { currentEnvironment } = useEarlyAccess();
6     return currentEnvironment === 'alpha' && !isMobile();