refactor: move reorder card to update handler

This commit is contained in:
Henry
2025-04-30 00:01:45 +01:00
parent d99e95826f
commit 88110b0b8f
6 changed files with 200 additions and 196 deletions

View File

@@ -167,8 +167,6 @@ export const listRouter = createTRPCRouter({
.mutation(async ({ ctx, input }) => {
let result: { name: string; publicId: string } | undefined;
console.log({ input });
if (input.name) {
result = await listRepo.update(
ctx.db,