Skip to content

Commit 4912046

Browse files
committed
fix(beta): fix import from lodash
1 parent 50ce788 commit 4912046

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/buildRouter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import AdminJS, { Router as AdminRouter } from 'adminjs';
33
import { FastifyInstance } from 'fastify';
44
import { RouteHandlerMethod } from 'fastify/types/route.js';
55
import { readFile } from 'fs/promises';
6-
import { fromPairs } from 'lodash';
6+
import fromPairs from 'lodash/fromPairs.js';
77
import * as mime from 'mime-types';
88
import path from 'path';
99

0 commit comments

Comments
 (0)