How do I clear the System logs in Problem Reporting?

When I try to go into this section, Problem Reporting just freezes and crashes. These 27k logs were left over after the Nvidia driver failure on Fedora 36.

Problem in Fedora 36 and Fedora 37 beta

Also this Kerneloops errors occurred after updating to the latest beta, but the problem is not related to them.

The problem was solved by deleting all files in the /var/spool/abrt directory.