Fix display of auth modal. Re #2262. (#2265)

This commit is contained in:
Matthew Heller
2022-10-26 16:35:46 -05:00
committed by GitHub
parent befe7c3fd2
commit 125343808d
4 changed files with 6 additions and 16 deletions

View File

@@ -139,12 +139,7 @@ export const FediAuthModal: FC<FediAuthModalProps> = ({
value={account}
placeholder="youraccount@yourserver.com"
status={!valid && account.length > 0 ? 'error' : undefined}
onPressEnter={submitAccountPressed}
enterButton={
<Button onClick={submitAccountPressed} disabled={!valid}>
Authenticate with Fediverse
</Button>
}
onSearch={submitAccountPressed}
/>
</>
);