Only import type of FormEvent
This commit is contained in:
parent
4ad29cf6da
commit
408b8694b6
@ -29,7 +29,7 @@ import {
|
||||
useDisclosure,
|
||||
useToast,
|
||||
} from "@chakra-ui/react";
|
||||
import { FormEvent, useState } from "react";
|
||||
import { type FormEvent, useState } from "react";
|
||||
|
||||
export async function loader({ context }: { context: RequestContext }) {
|
||||
if (!context.data.current_user)
|
||||
|
Loading…
x
Reference in New Issue
Block a user