If you still have the install file for the LineageOS build you currently have on the phone, just install it with TWRP again over the existing installation. This doesn’t do anything with Apps or data … helped me a couple of times out of a not booting OS after a TWRP backup restore.
You need to boot into TWRP for your PC to see the phone’s storage.
If this still doesn’t work …