Unless you have enough savings in the bank to cover your living expenses for several months or more I wouldn't recommend quitting until you line up another job.
If you quit w/o a plan to support yourself then you have two problems instead of one. Put in the bare minimum effort to do a reasonable job at your current employer while looking aggressively for a new position and looking for some social activities outside of work to fill the void left by an unsatisfying work environment.
If you quit w/o a plan to support yourself then you have two problems instead of one. Put in the bare minimum effort to do a reasonable job at your current employer while looking aggressively for a new position and looking for some social activities outside of work to fill the void left by an unsatisfying work environment.