Skip to content

Commit

Permalink
console is cleared
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-keiko committed Oct 15, 2024
1 parent d637082 commit 6d689b5
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/components/templates/bigOfferSection/BigOfferSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,8 @@ const BigOfferSection = () => {
spaceBetween={18}
slidesPerView={2}
centeredSlides={true}
onSlideChange={() => console.log("slide change")}
initialSlide={1}
loop
onSwiper={(swiper) => console.log(swiper)}
autoplay={{
delay: 3000,
disableOnInteraction: false,
Expand Down
1 change: 0 additions & 1 deletion src/shared/api/dish/dish.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export class DishService {
const response = await api
.get("/dish" + "?" + parameters.toString())
.then((res) => FetchContracts.responseContract(DishesDtoSchema)(res));
console.log("RESPONSE", response);
return response;
}
}
2 changes: 0 additions & 2 deletions src/shared/api/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export const BASE_URL = process.env.BASE_URL
? process.env.BASE_URL
: "http://localhost:3000/api";
console.log("Base URL: ", BASE_URL);
class ApiFetcher {
private prefix: string;

Expand All @@ -11,7 +10,6 @@ class ApiFetcher {

private async request<T>(endpoint: string, options: RequestInit): Promise<T> {
const url = `${this.prefix}${endpoint}`;
console.log("url", url);
const response = await fetch(url, {
...options,
headers: {
Expand Down
1 change: 0 additions & 1 deletion src/widgets/popularDishesSection/PopularDishesSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ const PopularDishesSection = () => {
useEffect(() => {
dishes.fetchPopular();
}, []);
console.log(dishes.popularDishes);
return (
<div className={styles["popular-dishes-section"]}>
<p className={styles["popular-dishes-section__subheading"]}>Food Items</p>
Expand Down

0 comments on commit 6d689b5

Please sign in to comment.