Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Bonymol-aot authored Nov 19, 2024
1 parent 90b1627 commit df7c873
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions forms-flow-admin/src/components/roles/roles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import { DEFAULT_ROLES } from "../../constants";

import {removingTenantId} from "../../utils/utils.js";
import { TableFooter } from "@formsflow/components";

const Roles = React.memo((props: any) => {
const { t } = useTranslation();
const { tenantId } = useParams();
Expand Down Expand Up @@ -637,7 +636,6 @@ const Roles = React.memo((props: any) => {
setActivePage(1);
};


const columns = [
{
dataField: "name",
Expand Down Expand Up @@ -778,15 +776,14 @@ const Roles = React.memo((props: any) => {

<table className="table">
<tfoot>

<TableFooter
limit={sizePerPage}
activePage={activePage}
totalCount={roles.length}
handlePageChange={setActivePage}
onLimitChange={handleLimitChange}
pageOptions={getpageList()}
/>
<TableFooter
limit={sizePerPage}
activePage={activePage}
totalCount={roles.length}
handlePageChange={handlePageChange}
onLimitChange={handleLimitChange}
pageOptions={getPageList()}
/>
</tfoot>
</table>
</div>
Expand Down

0 comments on commit df7c873

Please sign in to comment.