mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-21 13:55:45 +00:00
refactor(FE): Remove unused helper function formatTitleCaseGeneral
This commit is contained in:
@@ -12,11 +12,7 @@ import {
|
||||
BaseSalesOrder,
|
||||
Marketing,
|
||||
} from '@/types/api/marketing/marketing';
|
||||
import {
|
||||
formatDate,
|
||||
formatTitleCase,
|
||||
formatTitleCaseGeneral,
|
||||
} from '@/lib/helper';
|
||||
import { formatDate, formatTitleCase } from '@/lib/helper';
|
||||
|
||||
type MarketingSchemaType = {
|
||||
customer_id: number | undefined;
|
||||
@@ -123,7 +119,7 @@ export const SalesProductToFieldValues = (
|
||||
marketing_type: product.marketing_type
|
||||
? {
|
||||
value: product.marketing_type,
|
||||
label: formatTitleCaseGeneral(product.marketing_type),
|
||||
label: formatTitleCase(product.marketing_type),
|
||||
}
|
||||
: null,
|
||||
convertion_unit: product.convertion_unit
|
||||
|
||||
Reference in New Issue
Block a user