Fix texts
This commit is contained in:
@@ -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>
|
||||
</>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user