Skip to content

Commit

Permalink
fix(bin): fix js imports adding .js to local file references
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryant Brock committed Jun 7, 2023
1 parent 00b2136 commit 2371f29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ import { Prisma } from "@prisma/client";
`;
const jsImports = `import { useQuery, useMutation } from "react-query";
import { useContext } from "react";
import { serializePrismaQuery } from "./utils";
import { UserIdContext } from "./contexts/UserIdContext";
import { serializePrismaQuery } from "./utils.js";
import { UserIdContext } from "./contexts/UserIdContext.js";
`;

const tsHelpers = `
Expand Down

0 comments on commit 2371f29

Please sign in to comment.