Add tests for invite router (#1456)

*  Add test for invite router

*  Add cleanup to invite-router tests, add tests for creation and deletion of invites

* ♻️ Fix typo

* ♻️ Remove nullish for limit of invite router all procedure
This commit is contained in:
Meier Lukas
2023-10-18 20:41:59 +02:00
committed by GitHub
parent d60cd2ed8d
commit 0a98be4553
5 changed files with 249 additions and 14 deletions

View File

@@ -29,7 +29,7 @@ export const DeleteInviteModal = ({ id, innerProps }: ContextModalProps<{ tokenI
<Button
onClick={async () => {
await deleteAsync({
tokenId: innerProps.tokenId,
id: innerProps.tokenId,
});
}}
disabled={isLoading}