feat: introduce app flows with dummy data

This commit is contained in:
Ali BARIN
2021-12-10 23:46:00 +01:00
parent c855a5f555
commit c94b8af821
6 changed files with 106 additions and 19 deletions
@@ -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 (