Remove unnecessary line

merge-requests/3338/head
danidfra 2025-02-25 20:49:38 -03:00
rodzic af16e48ce3
commit 6a76bca7ff
2 zmienionych plików z 4 dodań i 8 usunięć

Wyświetl plik

@ -7,11 +7,9 @@ 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 { useRegistrationStatus } from 'soapbox/hooks/useRegistrationStatus.ts';
const SignUpPanel = () => {
const { nostrSignup } = useFeatures();
const { isOpen } = useRegistrationStatus();
const me = useAppSelector((state) => state.me);
const dispatch = useAppDispatch();
@ -38,8 +36,7 @@ const SignUpPanel = () => {
<HStack space={2}>
<Button
theme='tertiary'
onClick={nostrSignup ? () => dispatch(openModal('NOSTR_LOGIN')) : undefined}
to={nostrSignup ? undefined : '/login'}
onClick={() => dispatch(openModal('NOSTR_LOGIN'))}
block
>
<FormattedMessage id='account.login' defaultMessage='Log in' />
@ -47,8 +44,7 @@ const SignUpPanel = () => {
<Button
theme='primary'
onClick={nostrSignup ? () => dispatch(openModal('NOSTR_SIGNUP')) : undefined}
to={nostrSignup ? undefined : '/signup'}
onClick={() => dispatch(openModal('NOSTR_SIGNUP'))}
block
>
<FormattedMessage id='account.register' defaultMessage='Sign up' />

Wyświetl plik

@ -1028,6 +1028,7 @@
"login_external.errors.instance_fail": "The instance returned an error.",
"login_external.errors.network_fail": "Connection failed. Is a browser extension blocking it?",
"login_form.header": "Sign In",
"login_panel.subtitle": "Dive into the best of social media!",
"manage.zap_split.add": "Add",
"manage.zap_split.add_new_account": "Add New Account",
"manage.zap_split.fail_request": "Failed to update fees.",
@ -1466,9 +1467,8 @@
"settings.sessions": "Active sessions",
"settings.settings": "Settings",
"shared.tos": "Terms of Service",
"signup_panel.subtitle": "Sign up now to discuss what's happening.",
"login_panel.subtitle": "Dive into the best of social media!",
"signup_panel.greeting_title": "{greeting}! Welcome aboard!",
"signup_panel.subtitle": "Sign up now to discuss what's happening.",
"signup_panel.title": "New to {site_title}?",
"site_preview.preview": "Preview",
"soapbox_config.authenticated_profile_hint": "Users must be logged-in to view replies and media on user profiles.",