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 754bb12 commit 29a8edf
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/hooks.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, useOptimistic, useRef, useState, useTransition } from "react";
import {} from "react/experimental";
import type { z } from "zod";
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 { SafeAction, ServerCodeFn } from "./types";
import type { MaybePromise } from "./utils";
Expand Down

0 comments on commit 29a8edf

Please sign in to comment.