Skip to content

Commit

Permalink
[native] fix error alert detail casing in AddKeyserver
Browse files Browse the repository at this point in the history
Summary: I landed D12058 to fix error alert casing but looks like in D12057 there was one alert that was just very recently introduced that I didn't pull down + update causing eslint ci to fail. This diff should fix that

Test Plan: `flow`

Reviewers: will, ashoat

Reviewed By: will

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D12059
  • Loading branch information
ginsueddy committed May 15, 2024
1 parent 5752a75 commit bc5ae1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions native/profile/add-keyserver.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import HeaderRightTextButton from '../navigation/header-right-text-button.react.
import type { NavigationRoute } from '../navigation/route-names.js';
import { useSelector } from '../redux/redux-utils.js';
import { useStyles, useColors } from '../themes/colors.js';
import { AppOutOfDateAlertDetails } from '../utils/alert-messages.js';
import { appOutOfDateAlertDetails } from '../utils/alert-messages.js';
import { useStaffCanSee } from '../utils/staff-utils.js';

type KeyserverCheckStatus =
Expand Down Expand Up @@ -114,7 +114,7 @@ function AddKeyserver(props: Props): React.Node {
const errorMessage = React.useMemo(() => {
let errorText;
if (error === 'client_version_unsupported') {
errorText = AppOutOfDateAlertDetails.message;
errorText = appOutOfDateAlertDetails.message;
} else if (error) {
errorText =
'Cannot connect to keyserver. Please check the URL or your ' +
Expand Down

0 comments on commit bc5ae1b

Please sign in to comment.