style: auto format whole project

This commit is contained in:
Ali BARIN
2022-11-05 23:57:33 +01:00
parent e338770e57
commit 475f24f661
199 changed files with 2421 additions and 1839 deletions

View File

@@ -10,12 +10,16 @@ import * as URLS from 'config/urls';
type AppConnectionsProps = {
appKey: string;
}
};
export default function AppConnections(props: AppConnectionsProps): React.ReactElement {
export default function AppConnections(
props: AppConnectionsProps
): React.ReactElement {
const { appKey } = props;
const formatMessage = useFormatMessage();
const { data } = useQuery(GET_APP_CONNECTIONS, { variables: { key: appKey } });
const { data } = useQuery(GET_APP_CONNECTIONS, {
variables: { key: appKey },
});
const appConnections: IConnection[] = data?.getApp?.connections || [];
const hasConnections = appConnections?.length;
@@ -35,5 +39,5 @@ export default function AppConnections(props: AppConnectionsProps): React.ReactE
<AppConnectionRow key={appConnection.id} connection={appConnection} />
))}
</>
)
};
);
}