refactor: rewrite useDynamicData with RQ

This commit is contained in:
Rıdvan Akca
2024-04-10 17:17:38 +02:00
parent 85134722a5
commit ea1a63f7dd
5 changed files with 30 additions and 93 deletions

View File

@@ -1,10 +0,0 @@
import { gql } from '@apollo/client';
export const GET_DYNAMIC_DATA = gql`
query GetDynamicData(
$stepId: String!
$key: String!
$parameters: JSONObject
) {
getDynamicData(stepId: $stepId, key: $key, parameters: $parameters)
}
`;