From 74b72c1ed0ba4d4f66fffbaa869eabcb4af793c3 Mon Sep 17 00:00:00 2001 From: Mikael Brevik Date: Thu, 12 Dec 2024 15:38:13 +0100 Subject: [PATCH] fix: keep proper formatting on titles for customers --- .../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} /> ),