Skip to content

Commit

Permalink
removed errors related to useEffect
Browse files Browse the repository at this point in the history
  • Loading branch information
Sumit_growpital committed Aug 15, 2023
1 parent 171c997 commit 190455a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions client/src/components/navbar/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable react-hooks/exhaustive-deps */
import React,{ useState,useRef } from 'react';
import './style.scss';
import { Link, useLocation, useNavigate } from 'react-router-dom';
Expand Down
1 change: 1 addition & 0 deletions client/src/containers/tasks-board/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable react-hooks/exhaustive-deps */
import React, { useEffect, useState } from 'react'
import TopSection from './top-section';
import './styles.scss';
Expand Down
1 change: 1 addition & 0 deletions client/src/containers/tasks/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable react-hooks/exhaustive-deps */
import WelcomePage from "./welcome-page";
import './styles.scss';
import { useDispatch } from "react-redux";
Expand Down
1 change: 0 additions & 1 deletion client/src/services/tasks/taskBoards.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export const getAllBoards = async () => {
};

export const createBoard = async (details) => {
console.log({details});
const token = getLocalStorageKey('token');
const url = process.env.REACT_APP_BASE_URI + '/api/v1/task-board/boards';

Expand Down

0 comments on commit 190455a

Please sign in to comment.