mirror of
https://github.com/arc53/DocsGPT
synced 2024-11-17 21:26:26 +00:00
lint fix
This commit is contained in:
parent
4f9ce70ff8
commit
9fba91069a
@ -1,3 +1,3 @@
|
||||
# Please put appropriate value
|
||||
VITE_API_HOST=http://127.0.0.1:7091
|
||||
VITE_API_HOST=http://0.0.0.0:7091
|
||||
VITE_API_STREAMING=true
|
@ -1,6 +1,6 @@
|
||||
import { DocumentsProps } from '../models/misc';
|
||||
import Trash from '../assets/trash.svg';
|
||||
|
||||
import PropTypes from 'prop-types';
|
||||
const Documents: React.FC<DocumentsProps> = ({
|
||||
documents,
|
||||
handleDeleteDocument,
|
||||
@ -56,5 +56,8 @@ const Documents: React.FC<DocumentsProps> = ({
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
Documents.propTypes = {
|
||||
documents: PropTypes.array.isRequired,
|
||||
handleDeleteDocument: PropTypes.func.isRequired,
|
||||
};
|
||||
export default Documents;
|
||||
|
Loading…
Reference in New Issue
Block a user