Skip to content

Commit

Permalink
Fix 'Logout' inline link on the splash screen (matrix-org#8770)
Browse files Browse the repository at this point in the history
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
  • Loading branch information
luixxiul authored and JanBurp committed Jun 14, 2022
1 parent b9fe5c6 commit 500fc59
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/components/structures/MatrixChat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2012,9 +2012,11 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
<div className="mx_MatrixChat_splash">
{ errorBox }
<Spinner />
<AccessibleButton kind='link_inline' className="mx_MatrixChat_splashButtons" onClick={this.onLogoutClick}>
{ _t('Logout') }
</AccessibleButton>
<div className="mx_MatrixChat_splashButtons">
<AccessibleButton kind='link_inline' onClick={this.onLogoutClick}>
{ _t('Logout') }
</AccessibleButton>
</div>
</div>
);
}
Expand Down

0 comments on commit 500fc59

Please sign in to comment.