mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-30 12:24:25 +02:00
Remove unused propTypes (#15578)
GitOrigin-RevId: d45d155277a7fc4fbd137f8c640e4a22b1b82399
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user