Fix texts

This commit is contained in:
CHIEFSOFT\ameye
2024-12-15 19:26:32 -05:00
parent fe114433ff
commit 530631dac2
5 changed files with 75 additions and 164 deletions
+19 -5
View File
@@ -26,11 +26,25 @@ export default function ProductFactory(){
<>
<BreadcrumbComBS title='Name of the Product Here' paths={['Dashboard', 'Product']} />
<div className="row">
<>
<ProductStart />
</>
{isFetching ?
<>
<div className="row">
<div className="col-12">
<p className='text-mute'>Loading...</p>
</div>
</div>
</>
: isError ?
<div className="row">
<div className="col-12">
<p className='text-danger'>{error.message}</p>
</div>
</div>
:
<div>
<ProductStart productData={myproduct_data} />
</div>
}
</div>
</>
)