feat: apply conditional mation styling

This commit is contained in:
Ali BARIN
2023-12-14 14:28:07 +00:00
parent f8c30c8526
commit 78ba18b176
5 changed files with 50 additions and 14 deletions

View File

@@ -3,6 +3,8 @@ import { AutomatischInfoContext } from 'contexts/AutomatischInfo';
type UseAutomatischInfoReturn = {
isCloud: boolean;
isMation: boolean;
loading: boolean;
};
export default function useAutomatischInfo(): UseAutomatischInfoReturn {
@@ -10,5 +12,7 @@ export default function useAutomatischInfo(): UseAutomatischInfoReturn {
return {
isCloud: automatischInfoContext.isCloud,
isMation: automatischInfoContext.isMation,
loading: automatischInfoContext.loading,
};
}