mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 06:31:47 +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,
|
||||
}: LoginModalProps) => {
|
||||
const [email, setEmail] = useState<string>('');
|
||||
const [showMember, setShowMember] = useState<boolean>(true);
|
||||
const [showMember, setShowMember] = useState<boolean>(false);
|
||||
const [showTip, setShowTip] = useState<boolean>(false);
|
||||
const [userData, setUserData] = useState<User | null>(null);
|
||||
const { inviteMember, getUserByEmail } = useMembers();
|
||||
@ -90,7 +90,7 @@ export const InviteMemberModal = ({
|
||||
value={email}
|
||||
onChange={inputChange}
|
||||
onBlur={() => {
|
||||
// setShowMember(false);
|
||||
setShowMember(false);
|
||||
}}
|
||||
placeholder={t('Invite placeholder')}
|
||||
></Input>
|
||||
|
Loading…
Reference in New Issue
Block a user