Removed prop-types.

This commit is contained in:
Mike Cao 2023-02-10 03:37:06 -08:00
parent c815e7cd51
commit d4437427c4
9 changed files with 11 additions and 41 deletions

View file

@ -1,4 +1,3 @@
import PropTypes from 'prop-types';
import styles from './Favicon.module.css';
function getHostName(url) {
@ -20,8 +19,4 @@ function Favicon({ domain, ...props }) {
) : null;
}
Favicon.propTypes = {
domain: PropTypes.string,
};
export default Favicon;