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,4 +1,4 @@
import { useReducer, useEffect, memo } from "react";
import React, { useReducer, useEffect, memo } from "react";
import type { ReactNode } from "react";
import { getMsg, getCurrentKcLanguageTag, changeLocale, getTagLabel } from "../i18n";
import type { KcLanguageTag } from "../i18n";