diff options
| author | Max Nanis | 2026-09-11 23:06:59 -0700 |
|---|---|---|
| committer | Max Nanis | 2026-09-11 23:06:59 -0700 |
| commit | f82ac61b6a044467ab37c0645c3fe99b40bedfc5 (patch) | |
| tree | e55d6879f4cfaf683e4bee1b6f0221ddc3baf799 /jb-ui/src/components/Footer.tsx | |
| parent | 11d63b171501b9c29398133b795c3bcc1ae85a1b (diff) | |
| download | amt-jb-f82ac61b6a044467ab37c0645c3fe99b40bedfc5.tar.gz amt-jb-f82ac61b6a044467ab37c0645c3fe99b40bedfc5.zip | |
replace references to bpuid with logged in user
Diffstat (limited to 'jb-ui/src/components/Footer.tsx')
| -rw-r--r-- | jb-ui/src/components/Footer.tsx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/jb-ui/src/components/Footer.tsx b/jb-ui/src/components/Footer.tsx index eede06c..ec458f2 100644 --- a/jb-ui/src/components/Footer.tsx +++ b/jb-ui/src/components/Footer.tsx @@ -1,8 +1,7 @@ -import { useAppSelector } from "@/hooks"; +import { useGetMeQuery } from "@/models/authAPI"; const Footer = () => { - const bpuid = useAppSelector((state) => state.app.bpuid); - const assignment_id = useAppSelector((state) => state.app.assignment_id); + const { data: user, isLoading, isError } = useGetMeQuery(); return ( <div @@ -14,7 +13,7 @@ const Footer = () => { <p> help:{" "} <a - href={`mailto:support@jamesbillings67.com?subject=AMT Support Request: (${bpuid ?? "-"}) ${assignment_id ?? "–"}`} + href={`mailto:support@jamesbillings67.com?subject=AMT Support Request: (${user?.product_user_id ?? "-"})`} > support@jamesbillings67.com </a> |
