This commit is contained in:
2026-07-18 13:52:52 +05:30
parent 5d34c51e98
commit e87a2d55ab

View File

@@ -135,7 +135,7 @@ function ProfileComponentWrapper({
getOperation?: { path: string }; getOperation?: { path: string };
}) { }) {
const [data, setData] = useState<any>(null); const [data, setData] = useState<any>(null);
const [loading, setLoading] = useState(false); const [loading, setLoading] = useState(mode !== "create");
const [error, setError] = useState<string | null>(null); const [error, setError] = useState<string | null>(null);
const fetchPath = getOperation?.path ?? operation.path; const fetchPath = getOperation?.path ?? operation.path;