File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -225,11 +225,14 @@ const OrganizationAndCostCenterFilter = ({
225225 const [ orgState , setOrgState ] = useState ( organizationId )
226226 const [ costCenterState , setCostCenterState ] = useState ( costCenterId )
227227
228- const onChangeOrganization = useCallback ( ( value : string ) => {
229- setOrgState ( value )
230- setCostCenterState ( '' )
231- onChange ( { organizationId : value , costCenterId : '' } )
232- } , [ onChange ] )
228+ const onChangeOrganization = useCallback (
229+ ( value : string ) => {
230+ setOrgState ( value )
231+ setCostCenterState ( '' )
232+ onChange ( { organizationId : value , costCenterId : '' } )
233+ } ,
234+ [ onChange ]
235+ )
233236
234237 const onChangeCostCenter = useCallback (
235238 ( value : string ) => {
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ import {
1515import { itemDiscountEligible } from '../../utils/helpers'
1616import { quoteMessages , statusMessages } from '../../utils/messages'
1717import { LabelByStatusMap } from '../../utils/status'
18-
1918import styles from './QuoteTable.css'
2019
2120const QuoteTable = ( {
Original file line number Diff line number Diff line change @@ -17,9 +17,11 @@ export const initQuoteFromOrderForm = (orderForm: any) => {
1717 } else {
1818 quoteItems . push ( {
1919 ...item ,
20- listPrice : typeof item . listPrice === 'number' ? item . listPrice * 100 : 0 ,
20+ listPrice :
21+ typeof item . listPrice === 'number' ? item . listPrice * 100 : 0 ,
2122 price : typeof item . price === 'number' ? item . price * 100 : 0 ,
22- sellingPrice : typeof item . sellingPrice === 'number' ? item . sellingPrice * 100 : 0 ,
23+ sellingPrice :
24+ typeof item . sellingPrice === 'number' ? item . sellingPrice * 100 : 0 ,
2325 } )
2426 }
2527 } )
You can’t perform that action at this time.
0 commit comments