+
}
+ />
+
+ }
+ success={({ data }) => {
+ console.log(data);
+ if (!data.items.length) {
return (
-
-
-
-
-
-
- {!appIsDefault && (
-
- {
- const locationType = getEventLocationTypeFromApp(
- app?.locationOption?.value ?? ""
- );
- if (locationType?.linkType === "static") {
- setLocationType({ ...locationType, slug: appSlug });
- } else {
- updateDefaultAppMutation.mutate({
- appSlug,
- });
- }
- }}>
- {t("set_as_default")}
-
-
- )}
-
- {
- setDeleteCredentialId(app.userCredentialIds[0]);
- setDeleteAppModal(true);
- }}>
- {t("remove_app")}
-
-
-
-
-
+