Use the new syntax for importing as type
This commit is contained in:
@ -1,7 +1,6 @@
|
|||||||
import React, { useState } from "react";
|
import React, { useState, type FormEventHandler } from "react";
|
||||||
import { clsx } from "../tools/clsx";
|
import { clsx } from "../tools/clsx";
|
||||||
import { useConstCallback } from "../tools/useConstCallback";
|
import { useConstCallback } from "../tools/useConstCallback";
|
||||||
import type { FormEventHandler } from "react";
|
|
||||||
import type { KcContextBase } from "../getKcContext";
|
import type { KcContextBase } from "../getKcContext";
|
||||||
import type { PageProps } from "../KcProps";
|
import type { PageProps } from "../KcProps";
|
||||||
import type { I18nBase } from "../i18n";
|
import type { I18nBase } from "../i18n";
|
||||||
|
Reference in New Issue
Block a user