Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: issue with login not updating #15761

Merged
merged 1 commit into from
Sep 8, 2023
Merged

fix: issue with login not updating #15761

merged 1 commit into from
Sep 8, 2023

Conversation

tlebon
Copy link
Contributor

@tlebon tlebon commented Sep 8, 2023

Description

missing a useEffect to update login status on new conversation join page.

Checklist

  • PR has been self reviewed by the author;
  • Hard-to-understand areas of the code have been commented;
  • If it is a core feature, unit tests have been added;

@codecov
Copy link

codecov bot commented Sep 8, 2023

Codecov Report

Merging #15761 (95d6d82) into dev (7ac5dd4) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##              dev   #15761      +/-   ##
==========================================
- Coverage   44.48%   44.48%   -0.01%     
==========================================
  Files         672      672              
  Lines       22703    22706       +3     
  Branches     5167     5168       +1     
==========================================
  Hits        10100    10100              
- Misses      11314    11317       +3     
  Partials     1289     1289              

📢 Have feedback on the report? Share it here.

conversationError,
}: Props & ConnectedProps & DispatchProps) => {
const nameInput = React.useRef<HTMLInputElement>(null);
const {formatMessage: _} = useIntl();
const [isLoggedIn, setIsLoggedIn] = useState<boolean>();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion(non-blocking): Let's add false as initial value, this will make isLoggedIn type boolean instead of boolean | undefined.

@tlebon tlebon merged commit 88fb744 into dev Sep 8, 2023
13 checks passed
@tlebon tlebon deleted the fix/join-page-login-status branch September 8, 2023 13:28
pull bot pushed a commit to kkpan11/wire-webapp that referenced this pull request Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants