welcome email as not all users have given names
This commit is contained in:
parent
20ff91d663
commit
7c43907c2f
2 changed files with 2 additions and 3 deletions
|
|
@ -150,7 +150,7 @@ function App() {
|
|||
</header>
|
||||
<div className="flex flex-col h-screen w-full">
|
||||
<div className="flex gap-2 p-2 bg-gray-100">
|
||||
<h1>Welcome, {user.profile.name}!</h1>
|
||||
<h1>Welcome, {user.profile.email}!</h1>
|
||||
<Button onClick={logout}>Logout</Button>
|
||||
<Parameters onSubmit={onSubmit} isOpen={isParametersModalOpen} setIsOpen={setIsParametersModalOpen} />
|
||||
<ActiveQuery taskID={taskID} />
|
||||
|
|
|
|||
|
|
@ -69,8 +69,7 @@ export function Parameters(
|
|||
} = useForm<ParameterValues>()
|
||||
const [action, setAction] = useState<'fetch-data' | 'visualize' | null>(null)
|
||||
const [availableFromRawInput, setAvailableFromRawInput] = useState("now");
|
||||
const [districts, setDistricts] = useState<string[]>([]);
|
||||
console.log(districts)
|
||||
const [_districts, setDistricts] = useState<string[]>([]);
|
||||
|
||||
useEffect(() => {
|
||||
getUser().then(user => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue