Commit e4d22cec authored by Tim Neutkens's avatar Tim Neutkens

Fix formatting of older PR that passed tests

parent 6ac2f4b7
...@@ -3,7 +3,7 @@ const path = require('path') ...@@ -3,7 +3,7 @@ const path = require('path')
const Dotenv = require('dotenv-webpack') const Dotenv = require('dotenv-webpack')
module.exports = { module.exports = {
webpack: config => { webpack: (config) => {
config.plugins = config.plugins || [] config.plugins = config.plugins || []
config.plugins = [ config.plugins = [
......
import React from 'react' import React from 'react'
import App from 'next/app' import App from 'next/app'
const isStatusCodeOk = res => { const isStatusCodeOk = (res) => {
try { try {
return `${res.statusCode}`.startsWith('2') return `${res.statusCode}`.startsWith('2')
} catch (e) { } catch (e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment