Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge main to dev-deployment #101

Merged
merged 92 commits into from
May 6, 2024
Merged

merge main to dev-deployment #101

merged 92 commits into from
May 6, 2024

Conversation

Madhu2244
Copy link
Member

No description provided.

kevnlliu and others added 30 commits February 28, 2024 16:24
* working

* added search and pagination to donation tracking table

* CSS done for DTT

* updated styles

* Fixed checkbox effect on all content rows

* Fixes #44 pagination, search, and css added

* fixed bug where page num did not update when search happened

---------

Co-authored-by: Sean Kelman <[email protected]>
* implement_CSS_for_supply_request

* revision for implement CSS for supply request

* revision for implement CSS for supply request
…s-Donation-History-Table

Pagination, Search, CSS for Business Donation History Table Resolved
@Madhu2244 Madhu2244 changed the title fat fucking merge merge main to dev-deployment May 6, 2024
@Madhu2244 Madhu2244 merged commit 7cb6283 into dev-deployment May 6, 2024
2 checks passed
}
};
checkIsAdmin();
}, []);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <react-hooks/exhaustive-deps> reported by reviewdog 🐶
React Hook useEffect has missing dependencies: 'isAdmin' and 'navigate'. Either include them or remove the dependency array.

} catch (error) {
console.error('Error fetching data:', error);
}
}, [currentTab, currentPageNum, searchTerm]);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <react-hooks/exhaustive-deps> reported by reviewdog 🐶
React Hook useEffect has a missing dependency: 'loadInfo'. Either include it or remove the dependency array.

}
};
getData();
}, [isOpen]);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <react-hooks/exhaustive-deps> reported by reviewdog 🐶
React Hook useEffect has a missing dependency: 'data'. Either include it or remove the dependency array. If 'setNameData' needs the current value of 'data', you can also switch to useReducer instead of useState and read 'data' in the reducer.

setNotification(response.data);
}
fetchNotifications();
}, [isAdmin, navigate]);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <react-hooks/exhaustive-deps> reported by reviewdog 🐶
React Hook useEffect has a missing dependency: 'backend'. Either include it or remove the dependency array.

duration: 3000,
isClosable: true,
});
}, [error]);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <react-hooks/exhaustive-deps> reported by reviewdog 🐶
React Hook useEffect has a missing dependency: 'toast'. Either include it or remove the dependency array.

useEffect(() => {
getBusinessName();
},
[backend]);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <react-hooks/exhaustive-deps> reported by reviewdog 🐶
React Hook useEffect has a missing dependency: 'getBusinessName'. Either include it or remove the dependency array.

}

getData();
}, []);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <react-hooks/exhaustive-deps> reported by reviewdog 🐶
React Hook useEffect has missing dependencies: 'backend', 'id', and 'notification.length'. Either include them or remove the dependency array.

};
useEffect(() => {
fetchRequest();
}, [id]);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <react-hooks/exhaustive-deps> reported by reviewdog 🐶
React Hook useEffect has a missing dependency: 'fetchRequest'. Either include it or remove the dependency array.


const AuthContext = React.createContext();

export function useAuth() {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <react-refresh/only-export-components> reported by reviewdog 🐶
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components.

useEffect(() => {
setIsAuthenticated(currentUser !== null);
setIsLoading(false);
}, []);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <react-hooks/exhaustive-deps> reported by reviewdog 🐶
React Hook useEffect has a missing dependency: 'currentUser'. Either include it or remove the dependency array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.