From d2992325aada9d76618d5fa35140e3960386d074 Mon Sep 17 00:00:00 2001 From: tisachi Date: Sat, 17 Oct 2026 03:12:08 +0200 Subject: [PATCH] Auth: rejestracja bez zbednego napisu o domyslnej roli (aspekt techniczny nie dla uzytkownika) --- app/src/components/AuthShell.tsx | 13 ++----------- app/src/pages/Register.tsx | 2 +- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/app/src/components/AuthShell.tsx b/app/src/components/AuthShell.tsx index c735c33..62233fd 100644 --- a/app/src/components/AuthShell.tsx +++ b/app/src/components/AuthShell.tsx @@ -5,13 +5,7 @@ import { Brandmark } from './Brandmark'; /* Layout stron auth: panel brandingowy (gradient w akcencie + wzór siatki, claim) + panel formularza. Na mobile — jeden słupek (branding u góry). */ -export default function AuthShell({ - subtitle, - children, -}: { - subtitle?: string; - children: ReactNode; -}) { +export default function AuthShell({ children }: { children: ReactNode }) { return (
@@ -81,10 +75,7 @@ export default function AuthShell({ ))}
- - {subtitle &&

{subtitle}

} - {children} -
+ {children} ); diff --git a/app/src/pages/Register.tsx b/app/src/pages/Register.tsx index 3d1af63..3545901 100644 --- a/app/src/pages/Register.tsx +++ b/app/src/pages/Register.tsx @@ -33,7 +33,7 @@ export default function Register() { }; return ( - +