Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix type import in redirectBack #444

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

nichtsam
Copy link
Contributor

@nichtsam nichtsam commented Jan 16, 2025

Errors:

import { UNSAFE_DataWithResponseInit, data } from "react-router";
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Named export 'UNSAFE_DataWithResponseInit' not found.

fixes #437

@sergiodxa sergiodxa added the bug Something isn't working label Jan 16, 2025
@sergiodxa sergiodxa changed the title fix type only import Fix type import in redirectBack Jan 16, 2025
@sergiodxa sergiodxa merged commit 1b912fd into sergiodxa:main Jan 16, 2025
@nichtsam nichtsam deleted the pr/fix-type-only-import branch January 16, 2025 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Imported UNSAFE_DataWithResponseInit type sticks around in js build
2 participants