diff options
| author | Max Nanis | 2026-03-03 04:55:07 -0500 |
|---|---|---|
| committer | Max Nanis | 2026-03-03 04:55:07 -0500 |
| commit | 979e789c388e7a1e9a90e448d82e297c9c296a3e (patch) | |
| tree | b2ad366338249416f029e1820a7d02e9caf87c57 /jb-ui/src/JBApp.tsx | |
| parent | dec4f45c0755f65a322f6c66833c711dec2c6abb (diff) | |
| download | amt-jb-979e789c388e7a1e9a90e448d82e297c9c296a3e.tar.gz amt-jb-979e789c388e7a1e9a90e448d82e297c9c296a3e.zip | |
country-flag-icon, grlEventsSlice overhaul (ditch latestModel tracking for useRef list in Component). speed calc in createSelector(), seperated components.
Diffstat (limited to 'jb-ui/src/JBApp.tsx')
| -rw-r--r-- | jb-ui/src/JBApp.tsx | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/jb-ui/src/JBApp.tsx b/jb-ui/src/JBApp.tsx index c3d2b5f..f470a5d 100644 --- a/jb-ui/src/JBApp.tsx +++ b/jb-ui/src/JBApp.tsx @@ -1,5 +1,6 @@ import { EventMessage, + EventType, PingMessage, PongMessage, PongMessageKindEnum, @@ -9,15 +10,14 @@ import { TaskStatusResponse, UserWalletBalance, UserWalletBalanceResponse, - WalletApi, - EventType + WalletApi } from "@/api_fsb"; import Footer from "@/components/Footer"; import { useAppDispatch } from "@/hooks"; import { bpid, routeBasename, tagManager } from "@/lib/utils"; import { setAssignmentID, setProductUserID, setTurkSubmitTo } from "@/models/appSlice"; -import { addStatsData } from "@/models/grlStatsSlice"; import { addEvent } from "@/models/grlEventsSlice"; +import { addStatsData } from "@/models/grlStatsSlice"; import Home from "@/pages/Home"; import Preview from "@/pages/Preview"; import Result from "@/pages/Result"; @@ -32,7 +32,6 @@ import Wallet from "@/components/Wallet"; import "@/index.css"; import { setTaskStatus, setUserWalletBalance } from "@/models/appSlice"; import { Profiling } from "./components/Profiling"; -import { error } from "console"; type Message = PingMessage | PongMessage | SubscribeMessage | EventMessage | StatsMessage; @@ -48,15 +47,6 @@ function isPingMessage(msg: Message): msg is PingMessage { return msg.kind === 'ping'; } -// TaskEnter: 'task.enter', -// TaskFinish: 'task.finish', -// SessionEnter: 'session.enter', -// SessionFinish: 'session.finish', -// WalletCredit: 'wallet.credit', -// WalletDebit: 'wallet.debit', -// UserCreated: 'user.created', -// UserActive: 'user.active' - function QueryParamProcessor() { const dispatch = useAppDispatch() const [searchParams] = useSearchParams(); |
