JSFiddle - React, Tailwind, and code Playground

by Kristian Jabilles

JavaScript

const error = {
	response: {
  	status: 400
  }
};


if(error?.response?.status === 400) {
	console.log('here')
}