Skip to content

Commit

Permalink
removing console.logs
Browse files Browse the repository at this point in the history
  • Loading branch information
IslemMedjahdi committed Feb 4, 2023
1 parent 927ee79 commit 094b871
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions src/components/admin/ScrapAnnoucenemntIndex.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ const columns: TableColumn<Announcement.AnnouncementScrap>[] = [
try {
const response =
await announcementService.createAnnouncementFromScrap(row);
console.log(response);
router.push(ROUTES.POSTED_ANNOUNCEMENTS.path);
} catch (e) {
console.log(e);
Expand Down Expand Up @@ -172,7 +171,6 @@ const ScrapAnnoucenemntIndex = () => {
try {
const response = await announcementService.scrapAnnouncement();
setAnnouncements(response.data.annonces);
console.log(response.data.annonces);
setLoading(false);
} catch (e) {
console.log(e);
Expand Down
5 changes: 0 additions & 5 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,8 @@ import { NextPage } from "next";
import { NextSeo } from "next-seo";
import AllAnouncementsIndex from "../components/announcements/all-announcements/AllAnouncementsIndex";
import { ROUTES } from "../constants/routes";
import useMessage from "../hooks/useMessages";

const Home: NextPage = () => {
const { isConnected } = useMessage();

console.log(isConnected);

return (
<>
<NextSeo title={ROUTES.HOME.name} />
Expand Down

0 comments on commit 094b871

Please sign in to comment.