Type fixes for react v19 compatibility (#2937)

This commit is contained in:
Hugh Nimmo-Smith
2025-01-13 14:54:42 +00:00
committed by GitHub
parent c8b30dd8a7
commit 2f5f0978ad
17 changed files with 33 additions and 14 deletions

View File

@@ -6,7 +6,7 @@ Please see LICENSE in the repository root for full details.
*/
import { useTranslation } from "react-i18next";
import { type FC, useCallback } from "react";
import { type FC, useCallback, type JSX } from "react";
import { Button } from "@vector-im/compound-web";
import { logger } from "matrix-js-sdk/src/logger";