Add eslint import rules

This commit is contained in:
Luke Vella 2022-04-16 10:14:28 +01:00
parent 6717b3ca48
commit c5c2816c3d
49 changed files with 139 additions and 79 deletions

View file

@ -1,4 +1,5 @@
import { NextMiddleware, NextResponse } from "next/server";
import { isInMaintenanceMode } from "../utils/constants";
export const middleware: NextMiddleware = async (req) => {