mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Remove unused propTypes (#15578)
GitOrigin-RevId: d45d155277a7fc4fbd137f8c640e4a22b1b82399
This commit is contained in:
parent
d3e4f59885
commit
c597444179
2 changed files with 0 additions and 16 deletions
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue