diff --git a/app/components/FollowButton.tsx b/app/components/FollowButton.tsx index f038dea5..c9871d8a 100644 --- a/app/components/FollowButton.tsx +++ b/app/components/FollowButton.tsx @@ -40,7 +40,9 @@ export const FollowButton = ({ { merge: true } ), ]).then(() => { - showSnackbar(t`You'll be notified when ${constructorName} posts a new puzzle`); + showSnackbar( + t`You'll be notified when ${constructorName} posts a new puzzle` + ); }); }, [constructorName, page.u, showSnackbar] diff --git a/app/components/PuzzleOverlay.tsx b/app/components/PuzzleOverlay.tsx index cc6b90bb..161c25fd 100644 --- a/app/components/PuzzleOverlay.tsx +++ b/app/components/PuzzleOverlay.tsx @@ -101,10 +101,9 @@ export const PuzzleOverlay = (props: SuccessOverlayProps | BeginPauseProps) => { let loginButton: ReactNode = t`Login (via Google) to save your puzzle progress/stats`; if (!authContext.loading) { if (authContext.user?.email) { - const displayNameOrEmail = authContext.user.displayName || authContext.user.email; - loginButton = t`Logged in as ${ - displayNameOrEmail - }`; + const displayNameOrEmail = + authContext.user.displayName || authContext.user.email; + loginButton = t`Logged in as ${displayNameOrEmail}`; } else if (authContext.user) { loginButton = ( <>