fix: build issue with "React is not defined"
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
import React from 'react'
|
||||
import { render, cleanup, fireEvent } from '@testing-library/react'
|
||||
|
||||
import { Form, HandleForm } from '..'
|
||||
|
@ -1,3 +0,0 @@
|
||||
import React from 'react'
|
||||
|
||||
global.React = React
|
@ -1,4 +1,4 @@
|
||||
import { useRef } from 'react'
|
||||
import React, { useRef } from 'react'
|
||||
|
||||
export interface FormDataObject {
|
||||
[key: string]: FormDataEntryValue
|
||||
|
Reference in New Issue
Block a user