diff options
| author | Max Nanis | 2025-06-23 17:20:31 +0700 |
|---|---|---|
| committer | Max Nanis | 2025-06-23 17:20:31 +0700 |
| commit | 8138549f64403874eb7c7ddfbde1cc2cc2c03695 (patch) | |
| tree | ff16ff5bf7b0a5454fd181d178a6f799b9141d64 /src/components/site-header.tsx | |
| parent | 5e8b1b89bfffd0202bc6c5f64aac943053d79d32 (diff) | |
| download | panel-ui-8138549f64403874eb7c7ddfbde1cc2cc2c03695.tar.gz panel-ui-8138549f64403874eb7c7ddfbde1cc2cc2c03695.zip | |
Typescript validation finally passes.
Diffstat (limited to 'src/components/site-header.tsx')
| -rw-r--r-- | src/components/site-header.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/site-header.tsx b/src/components/site-header.tsx index 25b3e52..dca4996 100644 --- a/src/components/site-header.tsx +++ b/src/components/site-header.tsx @@ -1,11 +1,11 @@ import {Separator} from "@/components/ui/separator" import {SidebarTrigger} from "@/components/ui/sidebar" -import React from "react"; import {useAppSelector} from "@/hooks.ts"; +import {App} from "@/models/app.ts" import {Offerwall} from "@/pages/Offerwall.tsx"; const SiteHeader = () => { - const app = useAppSelector(state => state.app) + const app: App = useAppSelector(state => state.app) return ( <header @@ -22,7 +22,7 @@ const SiteHeader = () => { {app.currentPage === 'questions' && "Profiling Questions"} {app.currentPage === 'demographics' && "User Demographics"} {app.currentPage === 'task_attempts' && "Task Attempts"} - {app.currentPage === 'cashouts' && "Cashout Methods"} + {app.currentPage === 'cashout_methods' && "Cashout Methods"} {app.currentPage === 'transaction_history' && 'Transaction History'} </h1> |
