Skip to content

Commit

Permalink
fix: remove unneccessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
finnar-bin committed Nov 4, 2024
1 parent e306fce commit 0157d99
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/components/accounts/roles/DeleteCustomRoleDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,10 @@ export const DeleteCustomRoleDialog = ({
const [selectedTransferRole, setSelectedTransferRole] = useState<{
label: string;
value: string;
}>(
{
label: defaultBaseRole?.name,
value: defaultBaseRole?.ZUID,
} || null,
);
}>({
label: defaultBaseRole?.name,
value: defaultBaseRole?.ZUID,
});

const { zuid: instanceZUID } = router.query;

Expand Down

0 comments on commit 0157d99

Please sign in to comment.