feat: introduce propTypes

This commit is contained in:
kasia.oczkowska
2024-02-29 09:53:07 +00:00
committed by Ali BARIN
parent bfc7d5d0dd
commit 7afdf43872
57 changed files with 1119 additions and 735 deletions

View File

@@ -4,7 +4,7 @@ import { FormattedMessage } from 'react-intl';
import MationLogo from 'components/MationLogo';
import useAutomatischInfo from 'hooks/useAutomatischInfo';
export default function DefaultLogo() {
const DefaultLogo = () => {
const { data: automatischInfo, isPending } = useAutomatischInfo();
const isMation = automatischInfo?.data.isMation;
@@ -16,4 +16,6 @@ export default function DefaultLogo() {
<FormattedMessage id="brandText" />
</Typography>
);
}
};
export default DefaultLogo;