feat: add missing propTypes

This commit is contained in:
kasia.oczkowska
2024-06-05 13:26:56 +01:00
parent 725b38c697
commit 3f5df118a0
53 changed files with 597 additions and 81 deletions

View File

@@ -1,3 +1,4 @@
import PropTypes from 'prop-types';
import * as React from 'react';
import {
Link,
@@ -31,6 +32,7 @@ import Container from 'components/Container';
import PageTitle from 'components/PageTitle';
import useApp from 'hooks/useApp';
import Can from 'components/Can';
import { AppPropType } from 'propTypes/propTypes';
const ReconnectConnection = (props) => {
const { application, onClose } = props;
@@ -45,6 +47,11 @@ const ReconnectConnection = (props) => {
);
};
ReconnectConnection.propTypes = {
application: AppPropType.isRequired,
onClose: PropTypes.func.isRequired,
};
export default function Application() {
const theme = useTheme();
const matchSmallScreens = useMediaQuery(theme.breakpoints.down('md'));