Skip to content
This repository was archived by the owner on Feb 16, 2024. It is now read-only.
This repository was archived by the owner on Feb 16, 2024. It is now read-only.

[Codemod:next/13/replace-next-head] Invalid codemod output #353

Description

@dmytro068

⚠️⚠️ Please do not include any proprietary code in the issue. ⚠️⚠️


Codemod: next/13/replace-next-head

1. Code before transformation (Input for codemod)

```typescript ```

2. Expected code after transformation (Desired output of codemod)

```typescript // paste code here ```

3. Faulty code obtained after running the current version of the codemod (Actual output of codemod)

```typescript const { t, isLocaleReady } = useLocale(); ```

Additional context

Metadata dependencies such as react hooks, cannot exist outside of react component.


Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions