From a1972c8a76b29937a0f817319c9961c4cb5eb0f1 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 2 Mar 2025 13:28:48 -0600 Subject: [PATCH] Revert cute greeting --- .../ui/components/panels/sign-up-panel.tsx | 19 ++++++++++--------- src/locales/en.json | 4 ---- 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/src/features/ui/components/panels/sign-up-panel.tsx b/src/features/ui/components/panels/sign-up-panel.tsx index 2d73f65b4..878b3b2bb 100644 --- a/src/features/ui/components/panels/sign-up-panel.tsx +++ b/src/features/ui/components/panels/sign-up-panel.tsx @@ -7,36 +7,36 @@ import Stack from 'soapbox/components/ui/stack.tsx'; import Text from 'soapbox/components/ui/text.tsx'; import { useAppDispatch } from 'soapbox/hooks/useAppDispatch.ts'; import { useAppSelector } from 'soapbox/hooks/useAppSelector.ts'; +import { useFeatures } from 'soapbox/hooks/useFeatures.ts'; +import { useInstance } from 'soapbox/hooks/useInstance.ts'; import { useRegistrationStatus } from 'soapbox/hooks/useRegistrationStatus.ts'; const SignUpPanel = () => { + const { instance } = useInstance(); + const { nostrSignup } = useFeatures(); const { isOpen } = useRegistrationStatus(); const me = useAppSelector((state) => state.me); const dispatch = useAppDispatch(); if (me || !isOpen) return null; - function getGreeting() { - const hours = new Date().getHours(); - return hours < 12 ? : ; - } - return ( - + - +