Skip to content

Commit

Permalink
Logs cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nidnogg committed Mar 7, 2024
1 parent 34e9a0b commit c291d14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
8 changes: 3 additions & 5 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ function App() {
toastMessage = toastMessage.concat("and currency ")
}
toastMessage = toastMessage.concat("data from cache.")
console.log(toastMessage)
toast.success(toastMessage,
{
style: {
Expand All @@ -149,7 +148,6 @@ function App() {
if (baseSlotValues) {
cachePayload.values = baseSlotValues
}
console.log("storingCache", cachePayload)
if (cachePayload.country === "") {
toast.error('Please try selecting a country and adding data before',
{
Expand Down Expand Up @@ -383,17 +381,17 @@ function App() {
<div className="block w-5 absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2">
<span
aria-hidden="true"
className={`block absolute top-[6px] h-0.5 w-5 bg-current transform transition duration-437 ease-in-out ${open ? 'rotate-45 -translate-y-1.5' : ''
className={`block absolute top-[6px] h-0.5 w-5 bg-current transform transition duration-500 ease-in-out ${open ? 'rotate-45 -translate-y-1.5' : ''
}`}
></span>
<span
aria-hidden="true"
className={`block absolute h-0.5 w-5 bg-current transform transition duration-437 ease-in-out ${open ? 'opacity-0' : ''
className={`block absolute h-0.5 w-5 bg-current transform transition duration-500 ease-in-out ${open ? 'opacity-0' : ''
}`}
></span>
<span
aria-hidden="true"
className={`block absolute bottom-[4px] h-0.5 w-5 bg-current transform transition duration-437 ease-in-out ${open ? '-rotate-45 translate-y-1.5' : ''
className={`block absolute bottom-[4px] h-0.5 w-5 bg-current transform transition duration-500 ease-in-out ${open ? '-rotate-45 translate-y-1.5' : ''
}`}
></span>
</div>
Expand Down
1 change: 0 additions & 1 deletion src/MeterCompare.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const MeterCompare: React.FC<MeterCompareProps> = ({ baseSlotValuesToCompare, ex
const labelNames: string[] = ['Super Cheap', 'Cheap', 'Moderate', 'Expensive', 'Very Expensive']

const convert = (value: number): number => {
console.log(`Converting ${value} in ${homeCurrencyCode} to ${currencyCodeToCompare}`)
const homeCurrencyRateBaseUSD = 1.0/homeCurrencyRate
const currencyRateToCompareBaseUSD = 1.0/currencyRateToCompare
return ((value * homeCurrencyRateBaseUSD) / currencyRateToCompareBaseUSD)
Expand Down

0 comments on commit c291d14

Please sign in to comment.