From 5328be208b00496f763e02b3e12b2f4f21309f83 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 28 Mar 2023 19:07:36 +0330 Subject: [PATCH] fix: update tags --- components/InputSelect/TagSelection.tsx | 2 +- lib/api/controllers/links/updateLink.ts | 1 + store/links.ts | 2 -- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/components/InputSelect/TagSelection.tsx b/components/InputSelect/TagSelection.tsx index a8f02d0..819c9ae 100644 --- a/components/InputSelect/TagSelection.tsx +++ b/components/InputSelect/TagSelection.tsx @@ -27,7 +27,7 @@ export default function ({ onChange, defaultValue }: Props) { return ( ({ where: { name_ownerId: { diff --git a/store/links.ts b/store/links.ts index 312007c..62c773f 100644 --- a/store/links.ts +++ b/store/links.ts @@ -44,8 +44,6 @@ const useLinkStore = create()((set) => ({ return response.ok; }, updateLink: async (link) => { - console.log(link); - const response = await fetch("/api/routes/links", { body: JSON.stringify(link), headers: {