diff --git a/src/pages/entity/[entityName]/edit/[uuid]/index.page.tsx b/src/pages/entity/[entityName]/edit/[uuid]/index.page.tsx index 78e71140..b2a7e652 100644 --- a/src/pages/entity/[entityName]/edit/[uuid]/index.page.tsx +++ b/src/pages/entity/[entityName]/edit/[uuid]/index.page.tsx @@ -18,7 +18,7 @@ const EditEntityPage = () => { const entityName = router.query.entityName as EntityName; const entityUUID = router.query.uuid as string; - const { data: entityData } = useGetV2ENTITYUUID({ + const { data: entityData, isLoading: getEntityLoading } = useGetV2ENTITYUUID({ pathParams: { entity: entityName, uuid: entityUUID } }); const entity = entityData?.data ?? {}; //Do not abuse this since forms should stay entity agnostic! @@ -37,7 +37,7 @@ const EditEntityPage = () => { return ( - +