diff --git a/apps/web/app/(app)/workspaces/[workspaceId]/surveys/[surveyId]/(analysis)/responses/components/ResponseDataView.tsx b/apps/web/app/(app)/workspaces/[workspaceId]/surveys/[surveyId]/(analysis)/responses/components/ResponseDataView.tsx index 822e6ca7ab2d..550b3baef6cb 100644 --- a/apps/web/app/(app)/workspaces/[workspaceId]/surveys/[surveyId]/(analysis)/responses/components/ResponseDataView.tsx +++ b/apps/web/app/(app)/workspaces/[workspaceId]/surveys/[surveyId]/(analysis)/responses/components/ResponseDataView.tsx @@ -38,20 +38,17 @@ const formatArrayToRecord = (responseValue: TResponseDataValue, keys: string[]): return result; }; -// Export for testing -export const formatAddressData = (responseValue: TResponseDataValue): Record => { +const formatAddressData = (responseValue: TResponseDataValue): Record => { const addressKeys = ["addressLine1", "addressLine2", "city", "state", "zip", "country"]; return formatArrayToRecord(responseValue, addressKeys); }; -// Export for testing -export const formatContactInfoData = (responseValue: TResponseDataValue): Record => { +const formatContactInfoData = (responseValue: TResponseDataValue): Record => { const contactInfoKeys = ["firstName", "lastName", "email", "phone", "company"]; return formatArrayToRecord(responseValue, contactInfoKeys); }; -// Export for testing -export const extractResponseData = (response: TResponseWithQuotas, survey: TSurvey): Record => { +const extractResponseData = (response: TResponseWithQuotas, survey: TSurvey): Record => { const responseData: Record = {}; const elements = getElementsFromBlocks(survey.blocks); diff --git a/apps/web/modules/survey/components/template-list/components/template-tags.tsx b/apps/web/modules/survey/components/template-list/components/template-tags.tsx index 46a451d7a21c..b2e00296f79b 100644 --- a/apps/web/modules/survey/components/template-list/components/template-tags.tsx +++ b/apps/web/modules/survey/components/template-list/components/template-tags.tsx @@ -17,7 +17,7 @@ interface TemplateTagsProps { type NonNullabeChannel = NonNullable; -export const getRoleBasedStyling = (role: TTemplateRole | undefined): string => { +const getRoleBasedStyling = (role: TTemplateRole | undefined): string => { switch (role) { case "productManager": return "border-blue-300 bg-blue-50 text-blue-500"; diff --git a/apps/web/modules/ui/components/multi-select/badge.tsx b/apps/web/modules/ui/components/multi-select/badge.tsx index f49e9f863088..b26613053085 100644 --- a/apps/web/modules/ui/components/multi-select/badge.tsx +++ b/apps/web/modules/ui/components/multi-select/badge.tsx @@ -26,4 +26,4 @@ function Badge({ className, variant, ...props }: BadgeProps) { return
; } -export { Badge, badgeVariants }; +export { Badge };