diff --git a/src/app/api/settings/item/actions.ts b/src/app/api/settings/item/actions.ts index 3a2b39f..522b376 100644 --- a/src/app/api/settings/item/actions.ts +++ b/src/app/api/settings/item/actions.ts @@ -38,17 +38,6 @@ export type CreateItemInputs = { }; export const saveItem = async (data: CreateItemInputs) => { -<<<<<<< HEAD - // try { - const item = await serverFetchJson>(`${BASE_API_URL}/items/new`, { - method: "POST", - body: JSON.stringify(data), - headers: { "Content-Type": "application/json" }, - }); - revalidateTag("items"); - return item - }; -======= const item = await serverFetchJson>( `${BASE_API_URL}/items/new`, { @@ -73,4 +62,3 @@ export const fetchAllItemsInClient = cache(async () => { next: { tags: ["items"] }, }); }); ->>>>>>> da1fb872bf3b92e66cff3af4e1b8d1057c47effa