feat: Create empty trigger step when the flow is created
This commit is contained in:

committed by
Ömer Faruk Aydın

parent
247b25cfc4
commit
c07b377de1
@@ -22,7 +22,7 @@ type EditorLayoutProps = {
|
||||
export default function EditorLayout(props: EditorLayoutProps) {
|
||||
const { flowId } = useParams();
|
||||
const formatMessage = useFormatMessage();
|
||||
const { data } = useQuery(GET_FLOW, { variables: { id: flowId }});
|
||||
const { data } = useQuery(GET_FLOW, { variables: { id: Number(flowId) }});
|
||||
const flow: Flow = data?.getFlow;
|
||||
|
||||
return (
|
||||
@@ -58,4 +58,4 @@ export default function EditorLayout(props: EditorLayoutProps) {
|
||||
</Stack>
|
||||
</>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user