fix(doctors): resolve next/image http host and MUI v5 loading prop

- افزودن الگوی http برای api.clinic-pro.ir به next.config (عکس‌های بیمه
  با http برمی‌گردند و خطای 500 next/image می‌دادند)
- جایگزینی prop loading نامعتبر روی Button با disabled در SendReq/ButtonApply
  (loading فقط در MUI v6+ پشتیبانی می‌شود؛ این پروژه v5 است و lab نصب نیست)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
hamed
2026-06-15 00:15:10 +03:30
co-authored by Claude Opus 4.8
parent dc1c6d25be
commit f3192945c7
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ function ButtonApply({ sendReq, setOpen }) {
return (
<div className="flex justify-end w-full">
<Button
loading={loading}
disabled={loading}
variant="contained"
onClick={handleClick}
className="!px-3 !py-2 !text-[16px] !font-medium"