fixes
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user