style: modals theming (#940)

* style: existing issues list modal

* style: parent issues list modal

* style: issue modal

* style: cycle modal

* style: module modal

* style: view modal

* style: page modal

* style: delete modals
This commit is contained in:
Aaryan Khandelwal 2023-04-24 11:19:53 +05:30 committed by GitHub
parent 213dc3f8e8
commit 2ec8fbab34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 228 additions and 249 deletions

View file

@ -48,13 +48,7 @@ const SendProjectInvitationModal: React.FC<Props> = ({ isOpen, setIsOpen, member
const { data: people } = useSWR(
workspaceSlug ? WORKSPACE_MEMBERS(workspaceSlug as string) : null,
workspaceSlug ? () => workspaceService.workspaceMembers(workspaceSlug as string) : null,
{
onErrorRetry(err, _, __, revalidate, revalidateOpts) {
if (err?.status === 403 || err?.status === 401) return;
setTimeout(() => revalidate(revalidateOpts), 5000);
},
}
workspaceSlug ? () => workspaceService.workspaceMembers(workspaceSlug as string) : null
);
const {