Don't waste it by thinking short-term about leaving your job before you can find a replacement. There will come a time when we can find something better than this.
sometimes being too comfortable in a job because you are afraid of what will happen if you walk out of such job can be very limiting and might cause one to remain stagnated in just a single job while there are far better opportunities outside that are waiting for us. fine, it is best to make proper plan before exiting a job but it is never ideal to remain at a job and over adjust yourself to accepting some working environment that does not suit your status. if one is able to, it is best to get skilled up so their fear of waiting too long before one can secure a new job will be completely erased from your mind. if you are skilled enough, going from one job to another will naturally not be so difficult for you.