Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthonyp0329 committed Sep 20, 2024
1 parent d78a77a commit 25d2225
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion admin-portal-frontend/src/app/api/Categories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { updateVersion } from "./Version";
export type Category = {
_id: string;
title: string;
items: [];
items: Category[];
type: string;
};

Expand Down
2 changes: 0 additions & 2 deletions admin-portal-frontend/src/app/category/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ export default function CategoriesPage() {
setCategory((prevCategory) => {
return { ...prevCategory, items: newItems };
});
searchParams.get();
console.log(category);
} catch (error) {
console.error("Error deleting category:", error);
}
Expand Down

0 comments on commit 25d2225

Please sign in to comment.