It is bad. For 30 amps the wires must be at least 10 gauge, which I highly doubt.
If it is a double breaker, it is most likely a MWBC, two circuits sharing a neutral. A double breaker of the right size is good on a MWBC.
Check the wire gauge. The gauge will be marked on the wire/cable covering. Outlets/receptacles and light switches(common) are rated for 15 to 20 amps max. So three sources for a fire, the wires in the walls, the outlets, and whatever is plugged into them if something goes wrong.
A light(desk) on a proper circuit can only take max 1800 watts when stuff happens. On a 30 amp circuit that goes up to 3600 watts. That is an extra 1800w, which is much more than most space heaters inside of your walls.
If 14 gauge, then you need a 15 amp double breaker. For 12 gauge you can use a 20 amp breaker, but all the wires on that circuit must be 12 gauge.
If not sure all are or know some are 14 gauge, you need to stay with a 15 amp breaker.
When finding a too large breaker, a common reason is the people were tripping the breaker often, usually trying to make tea and toast at the same time, or two space heaters, two hair dryers.
Larger breaker stopped the tripping, but it can/does lead to house fires.