Skip to content

Commit 96dec46

Browse files
meta: bump the react group across 1 directory with 3 updates (#8205)
* meta: bump the react group across 1 directory with 3 updates Bumps the react group with 3 updates in the / directory: [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom), [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react). Updates `react-dom` from 19.1.1 to 19.2.0 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.2.0/packages/react-dom) Updates `react` from 19.1.1 to 19.2.0 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.2.0/packages/react) Updates `@types/react` from 19.1.12 to 19.2.0 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) --- updated-dependencies: - dependency-name: react-dom dependency-version: 19.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: react - dependency-name: react dependency-version: 19.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: react - dependency-name: "@types/react" dependency-version: 19.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: react ... Signed-off-by: dependabot[bot] <support@github.com> * fixup! --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: avivkeller <me@aviv.sh>
1 parent 84bab1c commit 96dec46

File tree

4 files changed

+397
-392
lines changed

4 files changed

+397
-392
lines changed

apps/site/components/Link.tsx

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,20 @@ import type { FC, AnchorHTMLAttributes, ComponentProps } from 'react';
33
import { Link as LocalizedLink } from '#site/navigation.mjs';
44

55
export type LinkProps =
6-
| ComponentProps<typeof LocalizedLink>
7-
| AnchorHTMLAttributes<HTMLAnchorElement>;
6+
| AnchorHTMLAttributes<HTMLAnchorElement>
7+
| ComponentProps<typeof LocalizedLink>;
88

99
const Link: FC<LinkProps> = ({ href, ...props }) => {
1010
if (!href || /^https?:/.test(href as string)) {
1111
return <a href={href as string} {...props} />;
1212
}
1313

14-
return <LocalizedLink href={href} {...props} />;
14+
return (
15+
<LocalizedLink
16+
href={href}
17+
{...(props as Omit<ComponentProps<typeof LocalizedLink>, 'href'>)}
18+
/>
19+
);
1520
};
1621

1722
export default Link;

apps/site/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"next-themes": "~0.4.6",
6666
"postcss-calc": "~10.1.1",
6767
"react": "catalog:",
68-
"react-dom": "^19.1.1",
68+
"react-dom": "^19.2.0",
6969
"reading-time": "~1.5.0",
7070
"rehype-autolink-headings": "~7.1.0",
7171
"rehype-slug": "~6.0.0",

0 commit comments

Comments
 (0)