fix(#10): slugify the appName and remove weird characters

This commit is contained in:
Mauricio Siu
2024-05-01 10:14:36 -06:00
parent 440f3e7f0f
commit 714444d1d6
2 changed files with 20 additions and 6 deletions

View File

@@ -39,6 +39,7 @@ export const RemoveGithubApp = () => {
await mutateAsync()
.then(async () => {
await refetch();
utils.admin.one.invalidate();
await utils.admin.haveGithubConfigured.invalidate();
toast.success("Github application deleted succesfully.");
})