From 7c43907c2fe4ee140a1f19e99ae23a6b37fb6436 Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Tue, 1 Jul 2025 16:26:52 +0000 Subject: [PATCH] welcome email as not all users have given names --- crawler/frontend/src/App.tsx | 2 +- crawler/frontend/src/components/Parameters.tsx | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/crawler/frontend/src/App.tsx b/crawler/frontend/src/App.tsx index 606a663..d12753a 100644 --- a/crawler/frontend/src/App.tsx +++ b/crawler/frontend/src/App.tsx @@ -150,7 +150,7 @@ function App() {
-

Welcome, {user.profile.name}!

+

Welcome, {user.profile.email}!

diff --git a/crawler/frontend/src/components/Parameters.tsx b/crawler/frontend/src/components/Parameters.tsx index c1d9b68..89fced0 100644 --- a/crawler/frontend/src/components/Parameters.tsx +++ b/crawler/frontend/src/components/Parameters.tsx @@ -69,8 +69,7 @@ export function Parameters( } = useForm() const [action, setAction] = useState<'fetch-data' | 'visualize' | null>(null) const [availableFromRawInput, setAvailableFromRawInput] = useState("now"); - const [districts, setDistricts] = useState([]); - console.log(districts) + const [_districts, setDistricts] = useState([]); useEffect(() => { getUser().then(user => {