({ onSubmit = () => {} }: { onSubmit?: () => void })
| 3 | import { useTranslation } from 'react-i18next' |
| 4 | |
| 5 | export function Feedback({ onSubmit = () => {} }: { onSubmit?: () => void }) { |
| 6 | const { asPath } = useRouter() |
| 7 | // Reset on route changes. |
| 8 | return <SendFeedback key={asPath} onSubmit={onSubmit} /> |
| 9 | } |
| 10 | |
| 11 | const thumbsUpIcon = ( |
| 12 | <svg width="16" height="18" viewBox="0 0 16 18" fill="none" xmlns="http://www.w3.org/2000/svg"> |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…