Skip to content

Commit 80412f9

Browse files
fix lint
1 parent ccc0a8e commit 80412f9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/start-server-core/src/server-functions-handler.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,8 @@ export const handleServerAction = async ({ request }: { request: Request }) => {
6060
throw new Error('Server function info not found for ' + serverFnId)
6161
}
6262

63-
let fnModule: undefined | { [key: string]: any }
64-
65-
fnModule = await serverFnInfo.importer()
63+
const fnModule: undefined | { [key: string]: any } =
64+
await serverFnInfo.importer()
6665

6766
if (!fnModule) {
6867
console.info('serverFnInfo', serverFnInfo)

0 commit comments

Comments
 (0)