💡remove useless comments

This commit is contained in:
Fred KISSIE
2025-11-15 07:01:27 +01:00
parent 616fb9c8e9
commit 1d9ed9d219

View File

@@ -129,7 +129,6 @@ export default function AuthPageBrandingForm({
if (!isValid) return;
try {
// Update or existing auth page domain
const updateRes = await api.put(
`/org/${orgId}/login-page-branding`,
{
@@ -138,7 +137,6 @@ export default function AuthPageBrandingForm({
);
if (updateRes.status === 200 || updateRes.status === 201) {
// update the data from the API
router.refresh();
toast({
variant: "default",
@@ -160,13 +158,11 @@ export default function AuthPageBrandingForm({
async function deleteBranding() {
try {
// Update or existing auth page domain
const updateRes = await api.delete(
`/org/${orgId}/login-page-branding`
);
if (updateRes.status === 200) {
// update the data from the API
router.refresh();
form.reset();
setIsDeleteModalOpen(false);