fix: show flow counts using useConnectionFlows

This commit is contained in:
Rıdvan Akca
2024-04-10 12:39:42 +02:00
parent 2901f337cc
commit 009cf63d8c
2 changed files with 30 additions and 16 deletions

View File

@@ -4,7 +4,7 @@ import api from 'helpers/api';
export default function useConnectionFlows(
{ connectionId, page },
{ enabled },
{ enabled } = {},
) {
const query = useQuery({
queryKey: ['connectionFlows', connectionId, page],