mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 10:42:00 +03:00
fix: always show email tip (#1213)
This commit is contained in:
parent
138dd98c0c
commit
c81a24224e
@ -50,7 +50,7 @@ export const InviteMemberModal = ({
|
|||||||
onInviteSuccess,
|
onInviteSuccess,
|
||||||
}: LoginModalProps) => {
|
}: LoginModalProps) => {
|
||||||
const [email, setEmail] = useState<string>('');
|
const [email, setEmail] = useState<string>('');
|
||||||
const [showMember, setShowMember] = useState<boolean>(true);
|
const [showMember, setShowMember] = useState<boolean>(false);
|
||||||
const [showTip, setShowTip] = useState<boolean>(false);
|
const [showTip, setShowTip] = useState<boolean>(false);
|
||||||
const [userData, setUserData] = useState<User | null>(null);
|
const [userData, setUserData] = useState<User | null>(null);
|
||||||
const { inviteMember, getUserByEmail } = useMembers();
|
const { inviteMember, getUserByEmail } = useMembers();
|
||||||
@ -90,7 +90,7 @@ export const InviteMemberModal = ({
|
|||||||
value={email}
|
value={email}
|
||||||
onChange={inputChange}
|
onChange={inputChange}
|
||||||
onBlur={() => {
|
onBlur={() => {
|
||||||
// setShowMember(false);
|
setShowMember(false);
|
||||||
}}
|
}}
|
||||||
placeholder={t('Invite placeholder')}
|
placeholder={t('Invite placeholder')}
|
||||||
></Input>
|
></Input>
|
||||||
|
Loading…
Reference in New Issue
Block a user