weareinreach / InReach

Either all code paths should have explicit returns, or none of them JS-0045
Anti-pattern
Minor
1 occurrence in this check
Expected to return a value at the end of arrow function
 37	const router = useRouter()
 38	const { searchParams } = useSearchState()
 39
 40	const clickHandler: MouseEventHandler<HTMLButtonElement> = (e) => { 41		if (typeof onClick === 'function') return onClick(e)
 42
 43		if (option === 'back') {