From af41f03b29f770f5a5f355fed49f900ec6509d2d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 10 Jan 2025 13:34:42 +0000 Subject: [PATCH 1/2] chore(deps): bump the react group across 1 directory with 3 updates Bumps the react group with 3 updates in the / directory: [react](https://github.com/facebook/react/tree/HEAD/packages/react), [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) and [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom). Updates `react` from 18.3.1 to 19.0.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.0.0/packages/react) Updates `@types/react` from 18.3.12 to 19.0.4 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) Updates `react-dom` from 18.3.1 to 19.0.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.0.0/packages/react-dom) Updates `@types/react` from 18.3.12 to 19.0.4 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) --- updated-dependencies: - dependency-name: react dependency-type: direct:production update-type: version-update:semver-major dependency-group: react - dependency-name: "@types/react" dependency-type: direct:development update-type: version-update:semver-major dependency-group: react - dependency-name: react-dom dependency-type: direct:production update-type: version-update:semver-major dependency-group: react - dependency-name: "@types/react" dependency-type: direct:development update-type: version-update:semver-major dependency-group: react ... Signed-off-by: dependabot[bot] --- package-lock.json | 45 +++++++++++++++++---------------------------- package.json | 6 +++--- 2 files changed, 20 insertions(+), 31 deletions(-) diff --git a/package-lock.json b/package-lock.json index b7a67c7c8..d878c55e6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,16 +19,16 @@ "@mui/material": "^6.3.1", "@tippyjs/react": "^4.2.6", "chroma-js": "^3.1.2", - "react": "^18.3.1", + "react": "^19.0.0", "react-awesome-reveal": "^4.3.1", - "react-dom": "^18.3.1", + "react-dom": "^19.0.0", "vanilla-cookieconsent": "^3.0.1" }, "devDependencies": { "@eslint/js": "^9.17.0", "@types/chroma-js": "^2.4.5", "@types/eslint__js": "^8.42.3", - "@types/react": "^18.3.12", + "@types/react": "^19.0.4", "babel-plugin-styled-components": "^2.1.4", "eslint": "^9.12.0", "eslint-config-prettier": "^9.1.0", @@ -6739,12 +6739,11 @@ } }, "node_modules/@types/react": { - "version": "18.3.12", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.12.tgz", - "integrity": "sha512-D2wOSq/d6Agt28q7rSI3jhU7G6aiuzljDGZ2hTZHIkrTLUI+AF3WMeKkEZ9nN2fkBAlcktT6vcZjDFiIhMYEQw==", + "version": "19.0.4", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.0.4.tgz", + "integrity": "sha512-3O4QisJDYr1uTUMZHA2YswiQZRq+Pd8D+GdVFYikTutYsTz+QZgWkAPnP7rx9txoI6EXKcPiluMqWPFV3tT9Wg==", "dev": true, "dependencies": { - "@types/prop-types": "*", "csstype": "^3.0.2" } }, @@ -26141,13 +26140,9 @@ } }, "node_modules/react": { - "version": "18.3.1", - "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", - "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", - "license": "MIT", - "dependencies": { - "loose-envify": "^1.1.0" - }, + "version": "19.0.0", + "resolved": "https://registry.npmjs.org/react/-/react-19.0.0.tgz", + "integrity": "sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==", "engines": { "node": ">=0.10.0" } @@ -26329,16 +26324,14 @@ } }, "node_modules/react-dom": { - "version": "18.3.1", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", - "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", - "license": "MIT", + "version": "19.0.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.0.0.tgz", + "integrity": "sha512-4GV5sHFG0e/0AD4X+ySy6UJd3jVl1iNsNHdpad0qhABJ11twS3TTBnseqsKurKcsNqCEFeGL3uLpVChpIO3QfQ==", "dependencies": { - "loose-envify": "^1.1.0", - "scheduler": "^0.23.2" + "scheduler": "^0.25.0" }, "peerDependencies": { - "react": "^18.3.1" + "react": "^19.0.0" } }, "node_modules/react-error-overlay": { @@ -29037,13 +29030,9 @@ "license": "ISC" }, "node_modules/scheduler": { - "version": "0.23.2", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", - "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", - "license": "MIT", - "dependencies": { - "loose-envify": "^1.1.0" - } + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.25.0.tgz", + "integrity": "sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA==" }, "node_modules/schema-utils": { "version": "4.2.0", diff --git a/package.json b/package.json index 3e02f1ac6..a2cfac7e3 100644 --- a/package.json +++ b/package.json @@ -30,16 +30,16 @@ "@mui/material": "^6.3.1", "@tippyjs/react": "^4.2.6", "chroma-js": "^3.1.2", - "react": "^18.3.1", + "react": "^19.0.0", "react-awesome-reveal": "^4.3.1", - "react-dom": "^18.3.1", + "react-dom": "^19.0.0", "vanilla-cookieconsent": "^3.0.1" }, "devDependencies": { "@eslint/js": "^9.17.0", "@types/chroma-js": "^2.4.5", "@types/eslint__js": "^8.42.3", - "@types/react": "^18.3.12", + "@types/react": "^19.0.4", "babel-plugin-styled-components": "^2.1.4", "eslint": "^9.12.0", "eslint-config-prettier": "^9.1.0", From 694760687c6a69077a0a953df455444df1c789b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Souchet=20C=C3=A9line?= Date: Fri, 6 Dec 2024 15:21:33 +0100 Subject: [PATCH 2/2] fix types (cherry picked from commit a536fcc47ec883f4eb17aec7063f0013bcca4258) (cherry picked from commit df16922812933e1af4c818a70995612732271044) (cherry picked from commit 290f56318bc0b46f7096f008567312a05a9628ea) --- src/components/Footer.tsx | 1 + src/components/Header.tsx | 1 + src/components/Layout.tsx | 2 +- src/components/PageWithPosts.tsx | 1 + src/components/PostContainer.tsx | 1 + src/components/SEO.tsx | 2 +- src/components/SocialLink.tsx | 1 + src/components/description/DescriptionPanel.tsx | 2 +- src/components/description/MDXPanel.tsx | 2 +- src/components/material-kit/Card/LibraryCard.tsx | 1 + src/components/material-kit/Card/PostCard.tsx | 1 + src/components/material-kit/MKBox/MKBox.tsx | 3 ++- src/components/material-kit/Navbar/common/ActionButton.tsx | 1 + src/components/material-kit/Navbar/common/NavbarItem.tsx | 2 +- .../material-kit/Navbar/desktop/DropdownDropdown.tsx | 2 +- src/components/material-kit/Navbar/desktop/DropdownLink.tsx | 1 + src/components/material-kit/Navbar/desktop/NavbarNav.tsx | 2 +- src/components/material-kit/Navbar/mobile/DropdownDropdown.tsx | 1 + src/components/material-kit/Navbar/mobile/DropdownLink.tsx | 1 + src/components/material-kit/Navbar/mobile/NavDropdown.tsx | 1 + src/components/material-kit/Navbar/mobile/NavbarButton.tsx | 1 + src/components/material-kit/Navbar/mobile/NavbarNav.tsx | 3 ++- src/components/modelGenerationApp/Features.tsx | 2 +- src/pages/404.tsx | 2 +- src/pages/blog.tsx | 1 + src/pages/index.tsx | 1 + src/pages/news.tsx | 1 + src/sections/SectionWithPosts.tsx | 1 + src/sections/home/About.tsx | 1 + src/sections/home/Blog.tsx | 1 + src/sections/home/Landing.tsx | 1 + src/sections/home/Libraries.tsx | 1 + src/sections/home/News.tsx | 1 + 33 files changed, 35 insertions(+), 11 deletions(-) diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 04a21122f..ba61e6b78 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -25,6 +25,7 @@ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ +import type {JSX} from 'react'; import React from 'react'; // @mui material components diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 6c7f46ab7..f7c3a3842 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +import type {JSX} from 'react'; import React from 'react'; import type { SvgIcon } from '@mui/material'; diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 2f07fdaa1..e42b314b4 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -14,7 +14,7 @@ * limitations under the License. */ -import type { PropsWithChildren } from 'react'; +import type {PropsWithChildren, JSX} from 'react'; import React, { useEffect } from 'react'; import { CssBaseline, ThemeProvider } from '@mui/material'; diff --git a/src/components/PageWithPosts.tsx b/src/components/PageWithPosts.tsx index 78e7c60d2..5a6b0791b 100644 --- a/src/components/PageWithPosts.tsx +++ b/src/components/PageWithPosts.tsx @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +import type {JSX} from "react"; import * as React from 'react'; import type { PostContent, FooterContent, HeaderContent } from '../components'; diff --git a/src/components/PostContainer.tsx b/src/components/PostContainer.tsx index 5b0b37b6f..b138d305f 100644 --- a/src/components/PostContainer.tsx +++ b/src/components/PostContainer.tsx @@ -14,6 +14,7 @@ * limitations under the License. */ +import type {JSX} from 'react'; import React from 'react'; import { Box, Container, Grid } from '@mui/material'; diff --git a/src/components/SEO.tsx b/src/components/SEO.tsx index 318e6d357..0bf3bf0c3 100644 --- a/src/components/SEO.tsx +++ b/src/components/SEO.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import type { PropsWithChildren } from 'react'; +import type {PropsWithChildren, JSX} from 'react'; import React from 'react'; import { ThemeProvider } from '@mui/material'; diff --git a/src/components/SocialLink.tsx b/src/components/SocialLink.tsx index 952171e26..e562b31fa 100644 --- a/src/components/SocialLink.tsx +++ b/src/components/SocialLink.tsx @@ -14,6 +14,7 @@ * limitations under the License. */ +import type {JSX} from 'react'; import React from 'react'; import type { LinkProps } from '@mui/material'; diff --git a/src/components/description/DescriptionPanel.tsx b/src/components/description/DescriptionPanel.tsx index b836eaf0e..34a96489a 100644 --- a/src/components/description/DescriptionPanel.tsx +++ b/src/components/description/DescriptionPanel.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import type { FC } from 'react'; +import type {FC, JSX} from 'react'; import React from 'react'; import { Box } from '@mui/material'; diff --git a/src/components/description/MDXPanel.tsx b/src/components/description/MDXPanel.tsx index c22bf35cd..e5dfc49e7 100644 --- a/src/components/description/MDXPanel.tsx +++ b/src/components/description/MDXPanel.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import type { FC } from 'react'; +import type {FC, JSX} from 'react'; import React from 'react'; import { Box, Typography } from '@mui/material'; diff --git a/src/components/material-kit/Card/LibraryCard.tsx b/src/components/material-kit/Card/LibraryCard.tsx index 8bc1e92f0..528a62395 100644 --- a/src/components/material-kit/Card/LibraryCard.tsx +++ b/src/components/material-kit/Card/LibraryCard.tsx @@ -28,6 +28,7 @@ Coded by www.creative-tim.com * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ +import type {JSX} from 'react'; import React from 'react'; // @mui material components diff --git a/src/components/material-kit/Card/PostCard.tsx b/src/components/material-kit/Card/PostCard.tsx index 8857f9a77..cb7f19350 100644 --- a/src/components/material-kit/Card/PostCard.tsx +++ b/src/components/material-kit/Card/PostCard.tsx @@ -28,6 +28,7 @@ Coded by www.creative-tim.com * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ +import type {JSX} from 'react'; import React from 'react'; // @mui material components diff --git a/src/components/material-kit/MKBox/MKBox.tsx b/src/components/material-kit/MKBox/MKBox.tsx index 0157be5f2..9ea6ba996 100644 --- a/src/components/material-kit/MKBox/MKBox.tsx +++ b/src/components/material-kit/MKBox/MKBox.tsx @@ -24,7 +24,8 @@ ========================================================= * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ -import React, { forwardRef } from 'react'; +import type {JSX} from "react"; +import React, {forwardRef} from 'react'; import type { BoxTypeMap } from '@mui/system'; import type { BoxProps as MuiBoxProps } from '@mui/material'; diff --git a/src/components/material-kit/Navbar/common/ActionButton.tsx b/src/components/material-kit/Navbar/common/ActionButton.tsx index 1cd804c6b..27628fc51 100644 --- a/src/components/material-kit/Navbar/common/ActionButton.tsx +++ b/src/components/material-kit/Navbar/common/ActionButton.tsx @@ -28,6 +28,7 @@ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ +import type {JSX} from 'react'; import React from 'react'; import type { ButtonProps } from '@mui/material'; diff --git a/src/components/material-kit/Navbar/common/NavbarItem.tsx b/src/components/material-kit/Navbar/common/NavbarItem.tsx index 0a91faf9f..6dbcdf3af 100644 --- a/src/components/material-kit/Navbar/common/NavbarItem.tsx +++ b/src/components/material-kit/Navbar/common/NavbarItem.tsx @@ -25,7 +25,7 @@ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ -import type { PropsWithChildren } from 'react'; +import type {PropsWithChildren, JSX} from 'react'; import React from 'react'; // @mui material components diff --git a/src/components/material-kit/Navbar/desktop/DropdownDropdown.tsx b/src/components/material-kit/Navbar/desktop/DropdownDropdown.tsx index fd5214167..f4de3a827 100644 --- a/src/components/material-kit/Navbar/desktop/DropdownDropdown.tsx +++ b/src/components/material-kit/Navbar/desktop/DropdownDropdown.tsx @@ -25,7 +25,7 @@ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ -import type { Dispatch, SetStateAction } from 'react'; +import type {Dispatch, JSX, SetStateAction} from 'react'; import React from 'react'; import { Grow, Popper } from '@mui/material'; diff --git a/src/components/material-kit/Navbar/desktop/DropdownLink.tsx b/src/components/material-kit/Navbar/desktop/DropdownLink.tsx index c5b69f122..a3cd4ea1d 100644 --- a/src/components/material-kit/Navbar/desktop/DropdownLink.tsx +++ b/src/components/material-kit/Navbar/desktop/DropdownLink.tsx @@ -25,6 +25,7 @@ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ +import type {JSX} from 'react'; import React from 'react'; import type { Theme } from '@mui/material'; diff --git a/src/components/material-kit/Navbar/desktop/NavbarNav.tsx b/src/components/material-kit/Navbar/desktop/NavbarNav.tsx index ef29726fb..b49da5285 100644 --- a/src/components/material-kit/Navbar/desktop/NavbarNav.tsx +++ b/src/components/material-kit/Navbar/desktop/NavbarNav.tsx @@ -25,7 +25,7 @@ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ -import type { Dispatch, SetStateAction } from 'react'; +import type {Dispatch, JSX, SetStateAction} from 'react'; import React from 'react'; import type { HoverStyle } from '../common'; diff --git a/src/components/material-kit/Navbar/mobile/DropdownDropdown.tsx b/src/components/material-kit/Navbar/mobile/DropdownDropdown.tsx index 48638e7b5..f4beb3754 100644 --- a/src/components/material-kit/Navbar/mobile/DropdownDropdown.tsx +++ b/src/components/material-kit/Navbar/mobile/DropdownDropdown.tsx @@ -25,6 +25,7 @@ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ +import type {JSX} from 'react'; import React from 'react'; import type { Theme } from '@mui/material'; diff --git a/src/components/material-kit/Navbar/mobile/DropdownLink.tsx b/src/components/material-kit/Navbar/mobile/DropdownLink.tsx index 671b13b6e..840ac8945 100644 --- a/src/components/material-kit/Navbar/mobile/DropdownLink.tsx +++ b/src/components/material-kit/Navbar/mobile/DropdownLink.tsx @@ -25,6 +25,7 @@ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ +import type {JSX} from 'react'; import React from 'react'; import type { Theme } from '@mui/material'; diff --git a/src/components/material-kit/Navbar/mobile/NavDropdown.tsx b/src/components/material-kit/Navbar/mobile/NavDropdown.tsx index b8abf8cfb..ff51285a2 100644 --- a/src/components/material-kit/Navbar/mobile/NavDropdown.tsx +++ b/src/components/material-kit/Navbar/mobile/NavDropdown.tsx @@ -25,6 +25,7 @@ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ +import type {JSX} from 'react'; import React from 'react'; import type { HeaderRouteWithMenus } from '../../../Header'; diff --git a/src/components/material-kit/Navbar/mobile/NavbarButton.tsx b/src/components/material-kit/Navbar/mobile/NavbarButton.tsx index f5b40a3d1..fbdbc50fa 100644 --- a/src/components/material-kit/Navbar/mobile/NavbarButton.tsx +++ b/src/components/material-kit/Navbar/mobile/NavbarButton.tsx @@ -29,6 +29,7 @@ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ +import type {JSX} from 'react'; import React from 'react'; import { Close, Menu } from '@mui/icons-material'; diff --git a/src/components/material-kit/Navbar/mobile/NavbarNav.tsx b/src/components/material-kit/Navbar/mobile/NavbarNav.tsx index f5a6a0661..013b149f8 100644 --- a/src/components/material-kit/Navbar/mobile/NavbarNav.tsx +++ b/src/components/material-kit/Navbar/mobile/NavbarNav.tsx @@ -24,7 +24,8 @@ ========================================================= * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ -import React, { useState } from 'react'; +import type {JSX} from 'react'; +import React, { useState} from 'react'; // @mui material components import { Collapse } from '@mui/material'; diff --git a/src/components/modelGenerationApp/Features.tsx b/src/components/modelGenerationApp/Features.tsx index 38b1d3d55..f73d57747 100644 --- a/src/components/modelGenerationApp/Features.tsx +++ b/src/components/modelGenerationApp/Features.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import type { FC, PropsWithChildren } from 'react'; +import type {FC, PropsWithChildren, JSX} from 'react'; import React from 'react'; import type { BoxProps } from '@mui/material'; diff --git a/src/pages/404.tsx b/src/pages/404.tsx index f709a75b9..0a7a004b7 100644 --- a/src/pages/404.tsx +++ b/src/pages/404.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import type { FC } from 'react'; +import type {FC, JSX} from 'react'; import React from 'react'; import type { HeadProps } from 'gatsby'; diff --git a/src/pages/blog.tsx b/src/pages/blog.tsx index 9f6acf61b..e1bd2cca8 100644 --- a/src/pages/blog.tsx +++ b/src/pages/blog.tsx @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +import type {JSX} from "react"; import * as React from 'react'; import type { HeadProps } from 'gatsby'; diff --git a/src/pages/index.tsx b/src/pages/index.tsx index fe2cdf4a7..6b18562cc 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -14,6 +14,7 @@ * limitations under the License. */ +import type {JSX} from "react"; import * as React from 'react'; import type { HeadProps } from 'gatsby'; diff --git a/src/pages/news.tsx b/src/pages/news.tsx index 64f04afc4..b6394d660 100644 --- a/src/pages/news.tsx +++ b/src/pages/news.tsx @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +import type {JSX} from "react"; import * as React from 'react'; import type { HeadProps } from 'gatsby'; diff --git a/src/sections/SectionWithPosts.tsx b/src/sections/SectionWithPosts.tsx index 83511ac2a..2bd1fded2 100644 --- a/src/sections/SectionWithPosts.tsx +++ b/src/sections/SectionWithPosts.tsx @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +import type {JSX} from 'react'; import React from 'react'; import type { PostContent } from '../components'; diff --git a/src/sections/home/About.tsx b/src/sections/home/About.tsx index 711a8dfe2..3498f2cf0 100644 --- a/src/sections/home/About.tsx +++ b/src/sections/home/About.tsx @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +import type {JSX} from 'react'; import React from 'react'; import { aboutContent } from '../../content'; diff --git a/src/sections/home/Blog.tsx b/src/sections/home/Blog.tsx index 4f7703a9f..0ac4ea1dc 100644 --- a/src/sections/home/Blog.tsx +++ b/src/sections/home/Blog.tsx @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +import type {JSX} from 'react'; import React from 'react'; import { postsContent } from '../../content'; diff --git a/src/sections/home/Landing.tsx b/src/sections/home/Landing.tsx index 02043763e..386b7976a 100644 --- a/src/sections/home/Landing.tsx +++ b/src/sections/home/Landing.tsx @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +import type {JSX} from 'react'; import React from 'react'; import type { Theme } from '@mui/material'; diff --git a/src/sections/home/Libraries.tsx b/src/sections/home/Libraries.tsx index 6d06c93e6..90746640e 100644 --- a/src/sections/home/Libraries.tsx +++ b/src/sections/home/Libraries.tsx @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +import type {JSX} from 'react'; import React from 'react'; import { Container, Grid } from '@mui/material'; diff --git a/src/sections/home/News.tsx b/src/sections/home/News.tsx index 75b6a92ba..c8665b4b9 100644 --- a/src/sections/home/News.tsx +++ b/src/sections/home/News.tsx @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +import type {JSX} from 'react'; import React from 'react'; import { newsContent } from '../../content';