Depends what is the situation. Each platform has pros and cons.
For day to day basic tasks like browsing internet, accounting, developing, etc I rather to use a laptop since I can move around and work anywhere. Now with covid, I just move around the house to change a bit. But when i'm at my desk I plug to an external monitor to have a larger viewport.
For complex task like Video encoding, Rendering, gaming I rather using a desktop. Those task require more powerful hardware and I don't need the computer to come with me. When I render something I just leave the computer working and I can do other activities during that time. And when I play games I like to play on the same place since it conformable.
I use more the laptop than desktop since my day to day workflow does not required heavy computing power. In my case, desktop is more of a fun projects and hobbies