fix: lint error
This commit is contained in:
@@ -54,7 +54,7 @@ export const MembersPage = ({ workspace }: { workspace: Workspace }) => {
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
setMembersList();
|
setMembersList();
|
||||||
// refreshMembers();
|
// refreshMembers();
|
||||||
}, [setMembersList]);
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@@ -1,4 +1,10 @@
|
|||||||
import { InputHTMLAttributes, useEffect, useState } from 'react';
|
import {
|
||||||
|
InputHTMLAttributes,
|
||||||
|
useEffect,
|
||||||
|
useState,
|
||||||
|
FocusEventHandler,
|
||||||
|
KeyboardEventHandler,
|
||||||
|
} from 'react';
|
||||||
import { StyledInput } from './style';
|
import { StyledInput } from './style';
|
||||||
|
|
||||||
type inputProps = {
|
type inputProps = {
|
||||||
@@ -9,9 +15,8 @@ type inputProps = {
|
|||||||
maxLength?: number;
|
maxLength?: number;
|
||||||
minLength?: number;
|
minLength?: number;
|
||||||
onChange?: (value: string) => void;
|
onChange?: (value: string) => void;
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
onBlur?: FocusEventHandler<HTMLInputElement>;
|
||||||
onBlur?: (e: any) => void;
|
onKeyDown?: KeyboardEventHandler<HTMLInputElement>;
|
||||||
onKeyDown?: (e: any) => void;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export const Input = (props: inputProps) => {
|
export const Input = (props: inputProps) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user