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 async arrow function
 6
 7export const LocationBasedAlertBanner = async ({
 8	input,
 9}: TRPCHandlerParams<TLocationBasedAlertBannerSchema>) => {10	try {
11		const { lat, lon } = input
12		const matchedAreas = await prisma.$queryRaw<MatchedAreaResults>(Prisma.sql`