When I got my current job I was throwing things at the wall trying to find something that could pass as a business. Ultimately I found what I'm working on but ran out of money and it wouldn't generate very much or anytime soon.
I got incredibly fortunate and found a job at a big company right before COVID. When I started working I was pretty burnt out myself and found it hard to code on either the side project or the work projects. But I was broke and in debt so I had to keep going. The drive came back to do better at work and on the side project.
Sounds like recharging might be in order for you. Idk what your financial situation is but as a dev taking a year off hopefully shouldn't be too much of a burden. It was for me and I lived off CC's. I still recommend it, especially if you're burnt out and considering leaving tech.
Maybe once the world reopens take a year off. Don't open your laptop lid for 6 months and pursue other passions and then reevaluate.