mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-20 23:12:13 +00:00
fix: eslint errors
This commit is contained in:
parent
15ca542f47
commit
603c314905
3 changed files with 10 additions and 10 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ import useStreamingServerUrls from '../useStreamingServerUrls';
|
|||
|
||||
type Props = {
|
||||
url: string;
|
||||
}
|
||||
};
|
||||
|
||||
const Item = ({ url }: Props) => {
|
||||
const { t } = useTranslation();
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@ import AddItem from './AddItem';
|
|||
export {
|
||||
Item,
|
||||
AddItem,
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue