Pass current code as input for fork mutation

This commit is contained in:
Lucas Araujo
2021-10-16 18:44:13 -03:00
parent 0bc759cf9e
commit 45fee3d263
3 changed files with 3 additions and 1 deletions

View File

@@ -85,6 +85,7 @@ export default function IdeHeader({
input: {
userId: currentUser.sub,
forkedFromId: project?.id,
code: state?.code,
},
},
})