Commit f31f17d5 by Tobias Skarhed Committed by GitHub

Fix strict nulls (#23931)

parent d0e23af2
......@@ -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);
}}
/>
)}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment