Skip to content

Commit 00a3ff5

Browse files
committed
Add debug logs
1 parent 398fa61 commit 00a3ff5

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/App.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ import Loader from './Components/utils/Loader';
55
import RenderProtectedPage from "./Components/utils/renderProtectedRoute"
66
import ScrollToTop from './Components/utils/ScrollTop';
77
import { AuthContext } from "./context/AuthContext";
8-
// import useLocalStorage from './Components/utils/useLocalStorage';
9-
108
const Navbar = lazy(() => import("./Components/Navbar/Navbar"));
119
const Footer = lazy(() => import("./Components/Home/Footer"));
1210

src/Components/utils/bookOperation.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export const addBook = async (bookName,category, handleError, handleSuccess, opt
77
return handleError("Bookname is missing")
88
}
99
const result = await apiCalling(`${category}/${bookName}`, "POST", options);
10+
console.log(result, "API result of adding book to wishlist")
1011
if(result.success){
1112
handleSuccess(`Book added to ${category} successfully`);
1213
}else{

0 commit comments

Comments
 (0)