• Ray Schamp's avatar
    Don't set state to undefined API response bodies · c0eb1608
    Ray Schamp authored
    This resolves the "Cannot read property 'x' of undefined" errors that occur when the API returns non-JSON responses. For instance if the proxy endpoints return 500 error responses from scratchr2.
    c0eb1608
splash.jsx 18.7 KB