Skip to content

Commit

Permalink
Change TenantManagement component to use arrow function
Browse files Browse the repository at this point in the history
  • Loading branch information
prateek3255 committed Feb 1, 2024
1 parent e5ed207 commit f9e2b88
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/static/css/main.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/static/js/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/static/js/bundle.js.map

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions src/ui/pages/tenants/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import "./index.scss";

const TENANTS_PAGINATION_LIMIT = 10;

export default function TenantManagement() {
const TenantManagement = () => {
const { fetchTenants } = useGetTenantsList();
const { showToast } = useContext(PopupContentContext);
const [tenants, setTenants] = useState<Array<Tenant> | undefined>(undefined);
Expand Down Expand Up @@ -103,4 +103,6 @@ export default function TenantManagement() {
/>
</div>
);
}
};

export default TenantManagement;

0 comments on commit f9e2b88

Please sign in to comment.