Skip to content

Commit

Permalink
Merge pull request #2185 from ever-co/develop
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
evereq authored Feb 8, 2024
2 parents 8202052 + 1916031 commit 8e295f6
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 12 deletions.
1 change: 1 addition & 0 deletions apps/web/app/hooks/features/useKanban.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export function useKanban() {
setKanbanBoard(kanban);
setLoading(false);
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [taskStatusHook.loading, tasksFetching]);

/**
Expand Down
1 change: 1 addition & 0 deletions apps/web/app/hooks/features/useOrganizationTeams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ function useCreateOrganizationTeam() {
return res;
});
},
// eslint-disable-next-line react-hooks/exhaustive-deps
[isTeamMember, queryCall, refreshToken, setActiveTeamId, setIsTeamMember, setTeams, teamsRef]
);

Expand Down
1 change: 1 addition & 0 deletions apps/web/app/hooks/features/useTaskLabels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export function useTaskLabels() {

return res;
});
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [user, activeTeamId, setTaskLabels, taskLabels, queryCall]);

useEffect(() => {
Expand Down
1 change: 1 addition & 0 deletions apps/web/app/hooks/features/useTeamTasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ export function useTeamTasks() {
return res;
});
},
// eslint-disable-next-line react-hooks/exhaustive-deps
[createQueryCall, deepCheckAndUpdateTasks, activeTeam]
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ export function getPublicOrganizationTeamRequest({
params[`relations[${i}]`] = rl;
});


const queries = qs.stringify(params || {});
const queries = qs.stringify(params);

return serverFetch<IOrganizationTeamWithMStatus>({
path: `/public/team/${profileLink}/${teamId}?${queries.toString()}`,
Expand Down
12 changes: 5 additions & 7 deletions apps/web/components/layout/header/request-to-join-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,17 +202,15 @@ const BecomeMember = ({ closeModal }: { closeModal: any }) => {
},
[
activeTeam,
position,
joinButtonAction,
setJoinButtonAction,
requestToJoinTeam,
validateRequestToJoinTeam,
formValues,
t,
requestToJoinPayload,
position,
closeModal,
validateRequestToJoinTeam,
formValues.code,
setErrors,
t('pages.home.SENT_EMAIL_VERIFICATION'),
t('errors.ERROR_WHILE_VERIFY_CODE')
closeModal
]
);

Expand Down
1 change: 1 addition & 0 deletions apps/web/components/shared/skeleton/Skeleton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const Skeleton = ({
width ? `w-[${width}px]` : 'w-[160px]',
className
)}
style={{ borderRadius }}
/>
);
};
Expand Down
3 changes: 2 additions & 1 deletion apps/web/components/shared/skeleton/UserTeamCardSkeleton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const Skeleton = ({
width: number;
borderRadius: number;
className: string;
}) => {
}) => {
return (
<div
className={clsxm(
Expand All @@ -67,6 +67,7 @@ const Skeleton = ({
width ? `w-[${width}px]` : 'w-[160px]',
className
)}
style={{ borderRadius }}
></div>
);
};
Expand Down
2 changes: 1 addition & 1 deletion apps/web/lib/features/task/task-filters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ export function TaskNameFilter({
const t = useTranslations();

const [typingTimeout, setTypingTimeout] = useState<NodeJS.Timeout | null>(null);
const [tempValue, setTempValue] = useState<string>('');
const [tempValue, setTempValue] = useState<string>(value);

const handleInputChange = (e: React.ChangeEvent<HTMLInputElement>) => {
const inputValue = e.target.value;
Expand Down
1 change: 1 addition & 0 deletions apps/web/lib/features/team-members-table-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ const TeamMembersTableView = ({
}
}
],
// eslint-disable-next-line react-hooks/exhaustive-deps
[]
);

Expand Down
1 change: 1 addition & 0 deletions apps/web/lib/features/team/invite/invite-form-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export function InviteFormModal({ open, closeModal }: { open: boolean; closeModa
}
});
},
// eslint-disable-next-line react-hooks/exhaustive-deps
[selectedEmail, setErrors, closeModal, inviteUser]
);

Expand Down
1 change: 1 addition & 0 deletions apps/web/lib/layout/auth-layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export function AuthLayout({ children, title, description, isAuthPage = true }:
src={`/assets/cover/${image}`}
layout="responsive"
objectFit="fill"
priority
width={2880}
height={2840}
alt={t('TITLE')}
Expand Down
2 changes: 1 addition & 1 deletion apps/web/styles/globals.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Poppins:ital,wght@0,300;0,500;0,700;0,800;1,400;1,600&family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,700;1,100;1,200;1,300;1,400;1,700&display=swap');

@tailwind base;
@tailwind components;
Expand Down

0 comments on commit 8e295f6

Please sign in to comment.