chore: remove hardcoded strings (#18156)
This commit is contained in:
1 parent
8a6450e854
commit
656a5bf423
12 files changed
+37
-29
No files matched your search
+2
-2
@@ -96,10 +96,10 @@ export default function EditOAuthClientWebhooks() {
|
||||
webhookId,
|
||||
body,
|
||||
});
|
||||
showToast("Webhook updated successfully.", "success");
|
||||
showToast(t("webhook_updated_successfully"), "success");
|
||||
} else {
|
||||
await createWebhook(body);
|
||||
showToast("Webhook created successfully.", "success");
|
||||
showToast(t("webhook_created_successfully"), "success");
|
||||
}
|
||||
await refetchWebhooks();
|
||||
router.push("/settings/platform/");
|
||||
|
||||
@@ -39,7 +39,7 @@ export default function Platform() {
|
||||
|
||||
const { mutateAsync, isPending: isDeleting } = useDeleteOAuthClient({
|
||||
onSuccess: () => {
|
||||
showToast("OAuth client deleted successfully", "success");
|
||||
showToast(t("oauth_client_deletion_message"), "success");
|
||||
refetchClients();
|
||||
refetchManagedUsers();
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user