Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ckng0221 committed Feb 2, 2024
1 parent fec803e commit 7360600
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion apps/ui/src/pages/BookDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ function BookDetails(props: IProps) {

async function addToCart(bookId: string, bookTitle: string) {
if (!props.customer?._id) {
// navigate('/login');
// console.log(prevLocation);
navigate(`/login?redirectTo=${prevLocation.pathname}`);
}
Expand Down

0 comments on commit 7360600

Please sign in to comment.