Rmoving Refresh icon and Label in Tenant.

This commit is contained in:
Kartik Sharma 2025-09-26 11:51:55 +05:30
parent 22a1ad45e7
commit db815ba038

View File

@ -135,31 +135,19 @@ const TenantPage = () => {
onChange={(e) => setSearchText(e.target.value)} onChange={(e) => setSearchText(e.target.value)}
placeholder="Search Tenant" placeholder="Search Tenant"
/> />
</div> </div>
{/* Actions */} {/* Actions */}
<div className="col-6 col-md-6 col-lg-10 text-end"> <div className="col-6 col-md-6 col-lg-10 text-end">
<span
className="text-tiny text-muted p-1 border-0 bg-none lead mx-3 cursor-pointer"
disabled={isRefetching}
onClick={() => refetchFn && refetchFn()}
>
Refresh{" "}
<i
className={`bx bx-refresh ms-1 ${isRefetching ? "bx-spin" : ""
}`}
></i>
</span>
<button <button
className="btn btn-sm btn-primary" className="btn btn-sm btn-primary"
type="button" type="button"
onClick={handleNewTenant} onClick={handleNewTenant}
> >
<i className="bx bx-plus-circle me-2"></i> <i className="bx bx-plus-circle me-2"></i>
<span className="d-none d-md-inline-block"> <span className="d-none d-md-inline-block">
Add New Tenant Add New Tenant
</span> </span>
</button> </button>
</div> </div>
</div> </div>