Fix retrocompat with React 16 and TypeScript 3 https://github.com/garronej/tss-react/issues/95

This commit is contained in:
garronej
2022-07-30 00:42:07 +02:00
parent d79081dee4
commit de53f1ff40
22 changed files with 22 additions and 21 deletions

View File

@ -1,5 +1,5 @@
import "./tools/Array.prototype.every";
import { useMemo, useReducer, Fragment } from "react";
import React, { useMemo, useReducer, Fragment } from "react";
import type { KcContextBase, Validators, Attribute } from "./getKcContext/KcContextBase";
import { getMsg } from "./i18n";
import type { KcLanguageTag } from "./i18n";