Skip to content

fix(core): useTranslate to import from @hooks in autoSaveIndicator#7416

Open
RahulRachhoya wants to merge 2 commits into
refinedev:mainfrom
RahulRachhoya:fix/translate-import-autosaveindicator
Open

fix(core): useTranslate to import from @hooks in autoSaveIndicator#7416
RahulRachhoya wants to merge 2 commits into
refinedev:mainfrom
RahulRachhoya:fix/translate-import-autosaveindicator

Conversation

@RahulRachhoya
Copy link
Copy Markdown

Summary

Fixes the same issue described in #6140 /closed by #6154 and #6184, but for the AutoSaveIndicator component.

Problem

The AutoSaveIndicator component was importing from path, which does not exist in the swizzled folder structure. When users run the swizzle command for the AuthPage, the generated code references this path but the folder is not created with an subdirectory.

Solution

Changed the import from:

to:

This follows the same pattern as other auth components (login, register, forgotPassword, updatePassword) where is imported from the path.

Related Issues/PRs

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 7, 2026

🦋 Changeset detected

Latest commit: 24a8bfa

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@refinedev/core Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@BatuhanW
Copy link
Copy Markdown
Member

BatuhanW commented May 8, 2026

Hey @RahulRachhoya Can you also add changeset?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Using Swizzle for AuthPage in Next.js generates code with i18n but the folder hooks is not created

2 participants