Improve auth and seeds (#352)
* Improve seeds * Autofill password on local environment * Fix PR --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -30,7 +30,9 @@ export function Index() {
|
||||
const theme = useTheme();
|
||||
useMockData();
|
||||
|
||||
const [, setAuthFlowUserEmail] = useRecoilState(authFlowUserEmailState);
|
||||
const [authFlowUserEmail, setAuthFlowUserEmail] = useRecoilState(
|
||||
authFlowUserEmailState,
|
||||
);
|
||||
|
||||
useEffect(() => {
|
||||
if (hasAccessToken()) {
|
||||
@ -71,7 +73,7 @@ export function Index() {
|
||||
</PrimaryButton>
|
||||
<HorizontalSeparator />
|
||||
<TextInput
|
||||
value=""
|
||||
value={authFlowUserEmail}
|
||||
placeholder="Email"
|
||||
onChange={(value) => setAuthFlowUserEmail(value)}
|
||||
fullWidth={true}
|
||||
|
||||
Reference in New Issue
Block a user