Skip to content

Commit

Permalink
fix(react): omit default-wildcard React import from d.ts bundle b…
Browse files Browse the repository at this point in the history
…y removing all default `React` imports
  • Loading branch information
jrson83 committed Apr 18, 2024
1 parent 0899a77 commit ed7de67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/react/src/Head.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {
Children,
type FunctionComponent,
type ReactNode,
cloneElement,
useContext,
useEffect,
Expand All @@ -10,7 +11,7 @@ import HeadContext from './HeadContext'

type InertiaHeadProps = {
title?: string
children?: React.ReactNode
children?: ReactNode
}

type InertiaHead = FunctionComponent<InertiaHeadProps>
Expand Down

0 comments on commit ed7de67

Please sign in to comment.