ref(TS) Require interfaces to start with I (#12424)

This commit is contained in:
Robert Pintilii
2022-10-20 12:11:27 +03:00
committed by GitHub
parent 10d202439b
commit 2938d1f2dc
197 changed files with 971 additions and 954 deletions

View File

@@ -11,7 +11,7 @@ import { type Image, VIRTUAL_BACKGROUND_TYPE } from '../constants';
import { resizeImage } from '../functions';
import logger from '../logger';
interface Props extends WithTranslation {
interface IProps extends WithTranslation {
/**
* Callback used to set the 'loading' state of the parent component.
@@ -74,7 +74,7 @@ function UploadImageButton({
showLabel,
storedImages,
t
}: Props) {
}: IProps) {
const { classes } = useStyles();
const uploadImageButton = useRef<HTMLInputElement>(null);
const uploadImageKeyPress = useCallback(e => {