[offers][refactor] Rename currency exchanger file to follow camelCase

pull/413/head
Bryann Yeap Kok Keong 2 years ago
parent 78a7e88410
commit 6948c2e4ee

@ -8,7 +8,7 @@ function GenerateAnalysis() {
return (
<div>
{JSON.stringify(
analysisMutation.mutate({ profileId: 'cl9j50xzk008vutfqg6mta2ey' }),
analysisMutation.mutate({ profileId: 'cl9jj2ks1001li9fn9np47wjr' }),
)}
</div>
);

@ -5,7 +5,7 @@ import { trpc } from '~/utils/trpc';
function GetAnalysis() {
const analysis = trpc.useQuery([
'offers.analysis.get',
{ profileId: 'cl9j50xzk008vutfqg6mta2ey' },
{ profileId: 'cl9jj2ks1001li9fn9np47wjr' },
]);
return <div>{JSON.stringify(analysis.data)}</div>;

@ -9,7 +9,7 @@ import {
profileDtoMapper,
} from '~/mappers/offers-mappers';
import { baseCurrencyString } from '~/utils/offers/currency';
import { convert } from '~/utils/offers/currency/currency-exchange';
import { convert } from '~/utils/offers/currency/currencyExchange';
import { createValidationRegex } from '~/utils/offers/zodRegex';
import { createRouter } from '../context';

@ -5,7 +5,7 @@ import {
dashboardOfferDtoMapper,
getOffersResponseMapper,
} from '~/mappers/offers-mappers';
import { convertWithDate } from '~/utils/offers/currency/currency-exchange';
import { convertWithDate } from '~/utils/offers/currency/currencyExchange';
import { Currency } from '~/utils/offers/currency/CurrencyEnum';
import { createValidationRegex } from '~/utils/offers/zodRegex';

Loading…
Cancel
Save