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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user