chore: stop casting IDs as number

This commit is contained in:
Ali BARIN
2022-01-29 16:36:14 +01:00
committed by Ömer Faruk Aydın
parent c6e2b94128
commit 131d33916a
11 changed files with 69 additions and 137 deletions

View File

@@ -19,7 +19,7 @@ import * as URLS from 'config/urls';
export default function EditorLayout(): React.ReactElement {
const { flowId } = useParams();
const formatMessage = useFormatMessage();
const { data } = useQuery(GET_FLOW, { variables: { id: Number(flowId) }});
const { data } = useQuery(GET_FLOW, { variables: { id: flowId }});
const flow: Flow = data?.getFlow;
return (