Skip to content

Commit

Permalink
Remove toLowerCase() on Link "as" so custom components can be used
Browse files Browse the repository at this point in the history
  • Loading branch information
ammagv authored Apr 9, 2024
1 parent c7b329c commit de7771c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/react/src/Link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ const Link = forwardRef<unknown, InertiaLinkProps>(
],
)

as = as.toLowerCase()
method = method.toLowerCase() as Method
const [_href, _data] = mergeDataIntoQueryString(method, href || '', data, queryStringArrayFormat)
href = _href
Expand Down

0 comments on commit de7771c

Please sign in to comment.