Browse Source

fix date

main
matthew 2 years ago
parent
commit
f3436e8612
  1. 1
      searching-front/app/core/helpers/metrika.ts
  2. 4
      searching-front/app/core/pages/State/State.tsx
  3. 16
      searching-front/services/main.ts

1
searching-front/app/core/helpers/metrika.ts

@ -1,5 +1,4 @@
export const count = (event:string) => {
yaCounter90644479.reachGoal(event)
gtag('event', event);
console.log(event)
}

4
searching-front/app/core/pages/State/State.tsx

@ -97,7 +97,7 @@ const State = ({
keepPreviousData: true,
initialData: historyOfStatePreloaded,
})
console.log(historyPeriod, historyOfState)
return (
<div className={s.root}>
<div className={s.actualStateWrapper}>
@ -124,7 +124,7 @@ const State = ({
onClick={()=>count('from_state_page_to_site')}
>
{getDomainFromUrl(i.address)}
<Button onClick={console.log} className={s.siteButton} theme="primary">
<Button className={s.siteButton} theme="primary">
.ton
</Button>
</Link>

16
searching-front/services/main.ts

@ -6,15 +6,15 @@ import parser from "./parser"
import influx from "./influx"
const run = async()=>{
// console.log('Start domain watcher')
// console.time('watcher')
// await domainWatcher();
// console.timeEnd('watcher')
// influx()
// console.log('Start parser');
// console.time('watcher');
console.log('Start domain watcher')
console.time('watcher')
await domainWatcher();
console.timeEnd('watcher')
influx()
console.log('Start parser');
console.time('watcher');
await parser();
// console.timeEnd('watcher');
console.timeEnd('watcher');
}

Loading…
Cancel
Save