aboutsummaryrefslogtreecommitdiff
path: root/jb-ui/src/components/Footer.tsx
diff options
context:
space:
mode:
authorMax Nanis2026-09-11 23:06:59 -0700
committerMax Nanis2026-09-11 23:06:59 -0700
commitf82ac61b6a044467ab37c0645c3fe99b40bedfc5 (patch)
treee55d6879f4cfaf683e4bee1b6f0221ddc3baf799 /jb-ui/src/components/Footer.tsx
parent11d63b171501b9c29398133b795c3bcc1ae85a1b (diff)
downloadamt-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.tsx7
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>