refactor(server): move 3rd-party import to the top
+ 1
- 1
@@ -7,6 +7,7 @@ import {
   stopAppServerAndExit,
 } from "@ethicdevs/react-monolith";
 // 3rd-party
+import { FastifyError } from "fastify";
 import cuid from "cuid";
 import fastifyCookie, { CookieSerializeOptions } from "@fastify/cookie";
 import fastifyCustomSession, {

...
@@ -35,7 +36,6 @@ import {
   localAppDomainPreHandler,
   makeRequestHandler,
 } from "./utils/server";
-import { FastifyError } from "fastify";
 
 let server: null | AppServer = null;