Skip to content

Commit 1dbd98e

Browse files
committed
Rename LoginForm to Signin for consistency
- Rename LoginForm.tsx to Signin.tsx - Update function name from LoginForm() to Signin() - Update all imports in App.tsx - Maintain consistent naming convention with Signup.tsx
1 parent 1911fc1 commit 1dbd98e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/web/src/App.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Analytics } from './pages/Analytics';
77
import { Settings } from './pages/Settings';
88
import { Admin } from './pages/Admin';
99
import { Backend } from './pages/Backend';
10-
import { LoginForm } from './pages/LoginForm';
10+
import { Signin } from './pages/Signin';
1111
import { Signup } from './pages/Signup';
1212
import { ForgotPassword } from './pages/ForgotPassword';
1313
import { ResetPassword } from './pages/ResetPassword';
@@ -83,8 +83,8 @@ function AuthenticatedApp() {
8383
if (!isAuthenticated) {
8484
return (
8585
<Routes>
86-
<Route path="/" element={<LoginForm />} />
87-
<Route path="/login" element={<LoginForm />} />
86+
<Route path="/" element={<Signin />} />
87+
<Route path="/login" element={<Signin />} />
8888
<Route path="/signup" element={<Signup />} />
8989
<Route path="/forgot-password" element={<ForgotPassword />} />
9090
<Route path="/reset-password" element={<ResetPassword />} />
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const GET_SYSTEM_SETTINGS = gql`
7676
}
7777
`;
7878

79-
export function LoginForm() {
79+
export function Signin() {
8080
const navigate = useNavigate();
8181
const { login: setAuthUser } = useAuth();
8282
const [searchParams] = useSearchParams();

0 commit comments

Comments
 (0)