Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
FelipeTrost committed Nov 11, 2023
1 parent c723564 commit 1776731
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,14 @@ function RolePage({ params: { roleId } }: { params: { roleId: string } }) {
]
: [];

if (error) return;
<Result
status="error"
title="Failed to fetch role"
subTitle="An error ocurred while fetching role, please try again."
/>;
if (error)
return (
<Result
status="error"
title="Failed to fetch role"
subTitle="An error ocurred while fetching role, please try again."
/>
);

return (
<Content
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const RolesPage: FC = () => {
dataIndex: 'id',
key: 'tooltip',
title: '',
with: 100,
width: 100,
render: (id: string, role: Role) =>
selectedRowKeys.length === 0 ? (
<AuthCan action="delete" resource={toCaslResource('Role', role)}>
Expand Down

0 comments on commit 1776731

Please sign in to comment.