mirror of
https://github.com/grafana/grafana.git
synced 2024-11-23 09:26:43 -06:00
Fix strict nulls (#23931)
This commit is contained in:
parent
d0e23af228
commit
f31f17d559
@ -45,10 +45,10 @@ export const AdminOrgsTable: FC<Props> = ({ orgs, onDelete }) => {
|
||||
</div>
|
||||
}
|
||||
confirmText="Delete"
|
||||
onDismiss={() => setDeleteOrg(null)}
|
||||
onDismiss={() => setDeleteOrg(undefined)}
|
||||
onConfirm={() => {
|
||||
onDelete(deleteOrg.id);
|
||||
setDeleteOrg(null);
|
||||
setDeleteOrg(undefined);
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user