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

feat: Implement Auth For Testing #2237

Merged
merged 13 commits into from
Sep 25, 2024
Prev Previous commit
Next Next commit
fix: fix error messages
  • Loading branch information
coreyphillips committed Sep 18, 2024
commit d2e0afed79ad104a8d79e64b8b5f723d716812fb
10 changes: 5 additions & 5 deletions src/navigation/bottom-sheet/PubkyAuth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ const PubkyAuth = (): ReactElement => {
if (secretKey.isErr()) {
showToast({
type: 'error',
title: t('pubky_secret_error_title'),
description: t('pubky_secret_error_description'),
title: t('authorization.pubky_secret_error_title'),
description: t('authorization.pubky_secret_error_description'),
});
setAuthorizing(false);
return;
Expand All @@ -85,8 +85,8 @@ const PubkyAuth = (): ReactElement => {
if (authRes.isErr()) {
showToast({
type: 'error',
title: t('pubky_auth_error_title'),
description: t('pubky_auth_error_description'),
title: t('authorization.pubky_auth_error_title'),
description: t('authorization.pubky_auth_error_description'),
});
setAuthorizing(false);
return;
Expand All @@ -96,7 +96,7 @@ const PubkyAuth = (): ReactElement => {
} catch (e) {
showToast({
type: 'error',
title: t('pubky_auth_error_title'),
title: t('authorization.pubky_auth_error_title'),
description: JSON.stringify(e),
});
setAuthorizing(false);
Expand Down
Loading