FYI you don't necessarily have to throw away an otherwise good office chair if the gas spring is leaking. You can replace just the gas spring.
I was able to fix quite a few items of furniture and electronics recently, but if you add cost of parts and labour of a professional, it’s just cheaper to replace