Skip to content

Commit

Permalink
fix: add .js file extension for imported files
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEdoRan committed Dec 19, 2023
1 parent ae83303 commit 10f7bd4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/next-safe-action/src/hook.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client";

import { isNotFoundError } from "next/dist/client/components/not-found";
import { isRedirectError } from "next/dist/client/components/redirect";
import { isNotFoundError } from "next/dist/client/components/not-found.js";
import { isRedirectError } from "next/dist/client/components/redirect.js";
import {
useCallback,
useEffect,
Expand Down
4 changes: 2 additions & 2 deletions packages/next-safe-action/src/server.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { isNotFoundError } from "next/dist/client/components/not-found";
import { isRedirectError } from "next/dist/client/components/redirect";
import { isNotFoundError } from "next/dist/client/components/not-found.js";
import { isRedirectError } from "next/dist/client/components/redirect.js";
import type { z } from "zod";
import type { MaybePromise, SafeAction, ServerCode } from "./types";
import { DEFAULT_SERVER_ERROR, isError } from "./utils";
Expand Down

0 comments on commit 10f7bd4

Please sign in to comment.