diff --git a/apps/web/app/global-error.tsx b/apps/web/app/global-error.tsx index 077670f229..25682ad939 100644 --- a/apps/web/app/global-error.tsx +++ b/apps/web/app/global-error.tsx @@ -13,7 +13,7 @@ export default function GlobalError({ error }: { error: Error & { digest?: strin } }, [error]); return ( - + diff --git a/apps/web/lib/organization/service.ts b/apps/web/lib/organization/service.ts index 0e2570a337..93a3e7d55a 100644 --- a/apps/web/lib/organization/service.ts +++ b/apps/web/lib/organization/service.ts @@ -224,16 +224,8 @@ export const getMonthlyActiveOrganizationPeopleCount = reactCache( async (organizationId: string): Promise => { validateInputs([organizationId, ZId]); - try { - // temporary solution until we have a better way to track active users - return 0; - } catch (error) { - if (error instanceof Prisma.PrismaClientKnownRequestError) { - throw new DatabaseError(error.message); - } - - throw error; - } + // temporary solution until we have a better way to track active users + return 0; } ); diff --git a/packages/surveys/src/components/general/response-error-component.tsx b/packages/surveys/src/components/general/response-error-component.tsx index b9a2370bcd..187b3df342 100644 --- a/packages/surveys/src/components/general/response-error-component.tsx +++ b/packages/surveys/src/components/general/response-error-component.tsx @@ -38,7 +38,6 @@ export function ResponseErrorComponent({ questions, responseData, onRetry }: Res
{ diff --git a/packages/surveys/src/components/wrappers/stacked-card.tsx b/packages/surveys/src/components/wrappers/stacked-card.tsx index 66cf18a3c4..43d04c35fc 100644 --- a/packages/surveys/src/components/wrappers/stacked-card.tsx +++ b/packages/surveys/src/components/wrappers/stacked-card.tsx @@ -68,7 +68,7 @@ export const StackedCard = ({ ? `translateY(25%)` : `translateY(-${((hovered ? 12 : 10) * offset).toString()}px)`; default: - return offset < 0 ? `translateX(0)` : `translateX(0)`; + return `translateX(0)`; } }; }, [cardArrangement, hovered, cardWidth]);