chore: suit eslint rules

This commit is contained in:
Ali BARIN
2022-01-16 19:47:16 +01:00
parent f6d7971b4f
commit c09a535653
73 changed files with 1197 additions and 2549 deletions

View File

@@ -1,5 +1,6 @@
import type { AppFields } from 'types/app';
import * as React from 'react';
import { useFormContext } from 'react-hook-form';
import type { AppFields } from 'types/app';
import TextField from 'components/TextField';
@@ -8,7 +9,7 @@ type InputCreatorProps = {
schema: AppFields;
};
export default function InputCreator(props: InputCreatorProps) {
export default function InputCreator(props: InputCreatorProps): React.ReactElement {
const {
onChange,
schema,