Remove unused propTypes (#15578)

GitOrigin-RevId: d45d155277a7fc4fbd137f8c640e4a22b1b82399
This commit is contained in:
Alf Eaton 2023-11-03 11:14:17 +00:00 committed by Copybot
parent d3e4f59885
commit c597444179
2 changed files with 0 additions and 16 deletions

View file

@ -1,4 +1,3 @@
import PropTypes from 'prop-types'
import { useTranslation } from 'react-i18next'
type MessageInputProps = {
@ -40,9 +39,4 @@ function MessageInput({ resetUnreadMessages, sendMessage }: MessageInputProps) {
)
}
MessageInput.propTypes = {
resetUnreadMessages: PropTypes.func.isRequired,
sendMessage: PropTypes.func.isRequired,
}
export default MessageInput

View file

@ -1,7 +1,6 @@
import { useTranslation } from 'react-i18next'
import Icon from './icon'
import { useEffect, useState } from 'react'
import PropTypes from 'prop-types'
function LoadingSpinner({ delay = 0 }) {
const { t } = useTranslation()
@ -31,10 +30,6 @@ function LoadingSpinner({ delay = 0 }) {
)
}
LoadingSpinner.propTypes = {
delay: PropTypes.number,
}
export default LoadingSpinner
export function FullSizeLoadingSpinner({
@ -50,8 +45,3 @@ export function FullSizeLoadingSpinner({
</div>
)
}
FullSizeLoadingSpinner.propTypes = {
delay: PropTypes.number,
minHeight: PropTypes.string,
}