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

chore(deps): bump react and @types/react #2029

Merged
merged 2 commits into from
Jan 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apps/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"docusaurus-plugin-matomo": "^0.0.8",
"gray-matter": "^4.0.3",
"prism-react-renderer": "^2.4.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rehype-katex": "^7.0.1",
"remark-math": "^6.0.0"
},
Expand All @@ -39,7 +39,7 @@
"@docusaurus/tsconfig": "^3.7.0",
"@docusaurus/types": "^3.7.0",
"@types/node": "^22.10.7",
"@types/react": "^18.3.12",
"@types/react": "^19.0.7",
"ts-node": "^10.9.2",
"typescript": "^5.7.3"
},
Expand Down
6 changes: 4 additions & 2 deletions apps/website/src/components/HomepageFeatures/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { useColorMode } from "@docusaurus/theme-common";
import Heading from "@theme/Heading";
import clsx from "clsx";

import type { ReactElement } from "react";

import boxImage from "../../../static/img/box.png";
import boxDarkImage from "../../../static/img/box_dark.png";
import chainImage from "../../../static/img/chain.png";
Expand All @@ -15,7 +17,7 @@ interface FeatureItem {
title: string;
img: string;
imgDark: string;
description: JSX.Element;
description: ReactElement;
}

const FeatureList: FeatureItem[] = [
Expand Down Expand Up @@ -74,7 +76,7 @@ const Feature = ({ title, img, imgDark, description }: FeatureItem) => {
);
};

const HomepageFeatures = (): JSX.Element => (
const HomepageFeatures = (): ReactElement => (
<section className={styles.features}>
<div className="container">
<div className="row">
Expand Down
4 changes: 3 additions & 1 deletion apps/website/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import Layout from "@theme/Layout";
import LayoutProvider from "@theme/Layout/Provider";
import clsx from "clsx";

import type { ReactElement } from "react";

import HomepageFeatures from "../components/HomepageFeatures";

import styles from "./index.module.css";
Expand All @@ -24,7 +26,7 @@ const HomepageHeader = ({ tagline, title }: HomepageHeaderProps) => (
</header>
);

const Home = (): JSX.Element => {
const Home = (): ReactElement => {
const { siteConfig } = useDocusaurusContext();

return (
Expand Down
4 changes: 3 additions & 1 deletion apps/website/src/pages/typedoc.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import Layout from "@theme/Layout";

const TypedocPage = (): JSX.Element => (
import type { ReactElement } from "react";

const TypedocPage = (): ReactElement => (
<Layout description="Description for your Typedoc page" title="Typedoc">
<iframe src="/typedoc_output/index.html" style={{ width: "100%", height: "100vh" }} title="typedoc" />
</Layout>
Expand Down
Loading
Loading