Skip to content

Commit

Permalink
feat(refine-hr): redundant prop
Browse files Browse the repository at this point in the history
  • Loading branch information
alicanerdurmaz committed Sep 25, 2024
1 parent 5ce1d3b commit 89df662
Showing 1 changed file with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,9 @@ import {
type TimeOff,
} from "@/types";

type Props = {
employeeId?: number;
};

export const TimeOffLeaveCards = (props: Props) => {
export const TimeOffLeaveCards = () => {
const { data: employee, isLoading: isLoadingEmployee } =
useGetIdentity<Employee>({
queryOptions: {
enabled: !props.employeeId,
},
});
useGetIdentity<Employee>();

const { data: timeOffsSick, isLoading: isLoadingTimeOffsSick } =
useList<TimeOff>({
Expand Down

0 comments on commit 89df662

Please sign in to comment.