feat: introduce app flows with dummy data

This commit is contained in:
Ali BARIN
2021-10-23 01:03:13 +02:00
parent c855a5f555
commit c94b8af821
6 changed files with 106 additions and 19 deletions

View File

@@ -9,8 +9,8 @@ type AppConnectionsProps = {
}
export default function AppConnections(props: AppConnectionsProps) {
const { appKey: key } = props;
const { data } = useQuery(GET_APP_CONNECTIONS, { variables: { key } });
const { appKey } = props;
const { data } = useQuery(GET_APP_CONNECTIONS, { variables: { key: appKey } });
const appConnections: Connection[] = data?.getApp?.connections || [];
return (