From 96c79166578025c790c179e6c50e8386fc465b3c Mon Sep 17 00:00:00 2001 From: Mikael Brevik Date: Thu, 12 Dec 2024 15:39:39 +0100 Subject: [PATCH] fix: keep proper formatting on titles for customers (#1036) --- .../sections/customerCasesEntry/CustomerCasesList.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/sections/customerCasesEntry/CustomerCasesList.tsx b/src/components/sections/customerCasesEntry/CustomerCasesList.tsx index c9eec8169..7cbcf40f0 100644 --- a/src/components/sections/customerCasesEntry/CustomerCasesList.tsx +++ b/src/components/sections/customerCasesEntry/CustomerCasesList.tsx @@ -7,7 +7,6 @@ import { useState } from "react"; import { SanitySharedImage } from "src/components/image/SanityImage"; import { Tag } from "src/components/tag"; import Text from "src/components/text/Text"; -import { capitalizeFirstLetter } from "src/components/utils/formatCapitalizedFirstLetter"; import { CustomerCaseEntry } from "studioShared/lib/interfaces/customerCases"; import styles from "./customerCasesEntry.module.css"; @@ -124,7 +123,7 @@ function TagRow({ type="button" background="dark" onClick={() => setSelectedCustomerCase(customerCase)} - text={capitalizeFirstLetter(customerCase.projectInfo.customer)} + text={customerCase.projectInfo.customer} /> ),