fix: build issue with "React is not defined"

This commit is contained in:
Divlo
2022-04-07 11:37:42 +02:00
parent 686b5643b3
commit 8cbe5c3bf2
6 changed files with 3 additions and 8 deletions

View File

@ -5,8 +5,6 @@ import { Form, HandleForm } from 'react-component-form'
import './index.css'
import GitHubLogo from 'url:./github.jpg'
global.React = React
const App: React.FC = () => {
const handleSubmit: HandleForm = (formData, formElement) => {
console.clear()