Skip to content

Commit

Permalink
use props: Props
Browse files Browse the repository at this point in the history
  • Loading branch information
sorja committed Oct 4, 2024
1 parent e6013ee commit 3133069
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/client/components/MessageCenter/Topic/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ import TextArea from 'client/components/Inputs/TextArea'

import { useShowActions } from './hooks/useShowActions'

const Footer: React.FC<{ topic: MessageTopic }> = ({ topic }) => {
type Props = { topic: MessageTopic }
const Footer: React.FC<Props> = (props: Props) => {
const { topic } = props
const { t } = useTranslation()
const [message, setMessage] = useState('')
const dispatch = useAppDispatch()
Expand Down

0 comments on commit 3133069

Please sign in to comment.