diff --git a/app/[locale]/dashboard/[entityType]/[entitySlug]/aimodels/edit/[id]/details/page.tsx b/app/[locale]/dashboard/[entityType]/[entitySlug]/aimodels/edit/[id]/details/page.tsx index a99a7deb..4abd0f0c 100644 --- a/app/[locale]/dashboard/[entityType]/[entitySlug]/aimodels/edit/[id]/details/page.tsx +++ b/app/[locale]/dashboard/[entityType]/[entitySlug]/aimodels/edit/[id]/details/page.tsx @@ -145,6 +145,7 @@ export default function AIModelDetailsPage() { const SAVE_SUCCESS_TOAST_ID = 'ai-model-details-save-success'; const SAVE_ERROR_TOAST_ID = 'ai-model-details-save-error'; const AI_MODEL_VALIDATION_TOAST_ID = 'ai-model-details-validation-toast'; + const OPEN_ACCESS_REQUIRED_TOAST_ID = SAVE_SUCCESS_TOAST_ID; const isValidHttpUrl = (value: string) => { try { const parsed = new URL(value); @@ -440,7 +441,6 @@ export default function AIModelDetailsPage() { ); } - const OPEN_ACCESS_REQUIRED_TOAST_ID = SAVE_SUCCESS_TOAST_ID; return (