mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
Remove redundant await return in create project mutation
This commit is contained in:
5
.changeset/cold-cobras-wish.md
Normal file
5
.changeset/cold-cobras-wish.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"create-better-t-stack": patch
|
||||
---
|
||||
|
||||
Remove redundant await return in create project mutation
|
||||
@@ -306,10 +306,10 @@ const router = t.router({
|
||||
.mutation(async ({ input }) => {
|
||||
const [projectName, options] = input;
|
||||
const combinedInput = {
|
||||
projectName: projectName || undefined,
|
||||
projectName,
|
||||
...options,
|
||||
};
|
||||
return await createProjectHandler(combinedInput);
|
||||
await createProjectHandler(combinedInput);
|
||||
}),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user