fix: eslint errors

This commit is contained in:
Timothy Z. 2024-10-24 11:51:26 +03:00
parent 15ca542f47
commit 603c314905
3 changed files with 10 additions and 10 deletions

View file

@ -1,9 +1,9 @@
import React, { ChangeEvent, useCallback, useState } from 'react'
import Button from 'stremio/common/Button'
import Icon from '@stremio/stremio-icons/react'
import TextInput from 'stremio/common/TextInput'
import styles from './Item.less'
import classNames from 'classnames'
import React, { ChangeEvent, useCallback, useState } from 'react';
import Button from 'stremio/common/Button';
import Icon from '@stremio/stremio-icons/react';
import TextInput from 'stremio/common/TextInput';
import styles from './Item.less';
import classNames from 'classnames';
type Props = {
onCancel: () => void
@ -39,7 +39,7 @@ const AddItem = ({ onCancel, handleAddUrl }: Props) => {
</Button>
</div>
</div>
)
}
);
};
export default AddItem;

View file

@ -14,7 +14,7 @@ import useStreamingServerUrls from '../useStreamingServerUrls';
type Props = {
url: string;
}
};
const Item = ({ url }: Props) => {
const { t } = useTranslation();

View file

@ -6,4 +6,4 @@ import AddItem from './AddItem';
export {
Item,
AddItem,
}
};