Skip to content

Commit

Permalink
fix: remove unnecessary user info display in new app page
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Dec 26, 2023
1 parent 423bb47 commit 292d49e
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions frontend/src/screens/apps/NewApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import {
BudgetRenewalType,
CreateAppResponse,
RequestMethodType,
User,
UserInfo,
nip47MethodDescriptions,
nip47MethodIcons,
validBudgetRenewals,
Expand All @@ -15,7 +13,6 @@ import {
const NewApp = () => {
const { data: info } = useInfo();
const navigate = useNavigate();
const currentUser: User = (info as UserInfo).user!;

const location = useLocation();
const queryParams = new URLSearchParams(location.search);
Expand Down Expand Up @@ -432,14 +429,6 @@ const NewApp = () => {
</>
)}

{currentUser.email && (
<p className="mt-8 pt-4 border-t border-gray-300 dark:border-gray-700 text-sm text-gray-500 dark:text-neutral-300 text-center">
You're logged in as{" "}
<span className="font-mono">{currentUser.email}</span>
<br />
</p>
)}

<div className="mt-6 flex flex-col sm:flex-row sm:justify-center">
<button
type="submit"
Expand Down

0 comments on commit 292d49e

Please sign in to comment.