Skip to content

Commit 9ef86c2

Browse files
dcoaarbrandes
authored andcommitted
fix: add null as defaout for userCounter in CardTitle
1 parent dae7186 commit 9ef86c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/authz-module/components/RoleCard

src/authz-module/components/RoleCard/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ interface RoleCardProps extends CardTitleProps {
1818
permissions: any[];
1919
}
2020

21-
const CardTitle = ({ title, userCounter }: CardTitleProps) => (
21+
const CardTitle = ({ title, userCounter = null }: CardTitleProps) => (
2222
<div className="d-flex align-items-center">
2323
<span className="mr-4 text-primary">{title}</span>
2424
{userCounter !== null && (

0 commit comments

Comments
 (0)