diff --git a/app/(home-pages)/home/HomeEmpty/HomeEmpty.tsx b/app/(home-pages)/home/HomeEmpty/HomeEmpty.tsx index ecabbabc..bacf8902 100644 --- a/app/(home-pages)/home/HomeEmpty/HomeEmpty.tsx +++ b/app/(home-pages)/home/HomeEmpty/HomeEmpty.tsx @@ -55,10 +55,6 @@ export function HomeEmptyState() { -
- Right now docs and publications are separate. Soon you'll be able to add - docs to pubs! -
); } diff --git a/components/ActionBar/MobileNavigation.tsx b/components/ActionBar/MobileNavigation.tsx index db63d327..1793ab2f 100644 --- a/components/ActionBar/MobileNavigation.tsx +++ b/components/ActionBar/MobileNavigation.tsx @@ -1,4 +1,3 @@ -import { MenuSmall } from "components/Icons/MenuSmall"; import { useIdentityData } from "components/IdentityProvider"; import { Popover } from "components/Popover"; import { Separator } from "components/Layout"; @@ -10,17 +9,8 @@ import { WriterButton, } from "./NavigationButtons"; import { PubIcon, PublicationButtons } from "./Publications"; -import { HomeSmall } from "components/Icons/HomeSmall"; -import { ReaderReadSmall } from "components/Icons/ReaderSmall"; import { LooseLeafSmall } from "components/Icons/LooseleafSmall"; import { normalizePublicationRecord } from "src/utils/normalizeRecords"; -import { - NotificationsReadSmall, - NotificationsUnreadSmall, -} from "components/Icons/NotificationSmall"; -import { TagSmall } from "components/Icons/TagSmall"; -import { Avatar } from "components/Avatar"; -import { useProfileFromDid } from "src/utils/getRecordFromDid"; import { LoginActionButton } from "components/LoginButton"; import { ButtonPrimary } from "components/Buttons"; @@ -68,12 +58,10 @@ export const MobileNavigation = (props: { ); - } else - return ( - - Create a Publication! - - ); + } + if (identity) { + return Create a Pub!; + } else return; } return ( diff --git a/components/ActionBar/NavigationButtons.tsx b/components/ActionBar/NavigationButtons.tsx index 2e1995c7..8a08c591 100644 --- a/components/ActionBar/NavigationButtons.tsx +++ b/components/ActionBar/NavigationButtons.tsx @@ -85,7 +85,6 @@ export const ReaderButton = (props: { subs: boolean; compactOnMobile?: boolean; }) => { - if (!props.subs) return; return ( } label="Sign In" /> }