Skip to content

Commit

Permalink
refactor: 🎨 removes explicit return type
Browse files Browse the repository at this point in the history
  • Loading branch information
shaheer-deriv committed Sep 26, 2023
1 parent 69fa24f commit 1c4f9e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hooks/src/useIsMt5LoginListStatusPresent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type TStatus = keyof DetailsOfEachMT5LoginId;
/**
* A custom hook to check if the given status flag is present in the mt5_login_list of given account login id
*/
const useIsMt5LoginListStatusPresent = (status: TStatus, account_login_id: string): boolean => {
const useIsMt5LoginListStatusPresent = (status: TStatus, account_login_id: string) => {
const { data: mt5_login_list } = useMT5AccountsList();

return React.useMemo(
Expand Down

0 comments on commit 1c4f9e4

Please sign in to comment.