Skip to content

Commit

Permalink
Disabled eslink check for useEffect hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
mbeps committed Feb 21, 2023
1 parent e95d268 commit d465e03
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Modal/Auth/AuthModal.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable react-hooks/exhaustive-deps */
import { authModalState } from "@/atoms/authModalAtom";
import { auth } from "@/firebase/clientApp";
import {
Expand Down
1 change: 1 addition & 0 deletions src/components/Posts/Comments/Comments.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable react-hooks/exhaustive-deps */
import { Post, postState } from "@/atoms/postsAtom";
import { firestore } from "@/firebase/clientApp";
import {
Expand Down
1 change: 1 addition & 0 deletions src/components/Posts/Posts.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable react-hooks/exhaustive-deps */
import { Community } from "@/atoms/communitiesAtom";
import { Post } from "@/atoms/postsAtom";
import { auth, firestore } from "@/firebase/clientApp";
Expand Down
1 change: 1 addition & 0 deletions src/hooks/useCommunityData.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable react-hooks/exhaustive-deps */
import { authModalState } from "@/atoms/authModalAtom";
import {
Community,
Expand Down
1 change: 1 addition & 0 deletions src/hooks/useDirectory.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable react-hooks/exhaustive-deps */
import { communityState } from "@/atoms/communitiesAtom";
import {
DirectoryMenuItem,
Expand Down
1 change: 1 addition & 0 deletions src/pages/community/[communityId]/comments/[pid].tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable react-hooks/exhaustive-deps */
import { Post } from "@/atoms/postsAtom";
import About from "@/components/Community/About";
import PageContent from "@/components/Layout/PageContent";
Expand Down
1 change: 1 addition & 0 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable react-hooks/exhaustive-deps */
import Head from "next/head";
import Image from "next/image";
import { Inter } from "@next/font/google";
Expand Down

0 comments on commit d465e03

Please sign in to comment.