Use the new syntax for importing as type

This commit is contained in:
garronej 2023-02-26 16:37:06 +01:00
parent 5cfe78dcd1
commit 2251c84171

View File

@ -1,7 +1,6 @@
import React, { useState } from "react";
import React, { useState, type FormEventHandler } from "react";
import { clsx } from "../tools/clsx";
import { useConstCallback } from "../tools/useConstCallback";
import type { FormEventHandler } from "react";
import type { KcContextBase } from "../getKcContext";
import type { PageProps } from "../KcProps";
import type { I18nBase } from "../i18n";