Skip to content

Commit 3ba84b5

Browse files
committed
Rename Login.tsx
1 parent 77163d0 commit 3ba84b5

File tree

3 files changed

+3
-98
lines changed

3 files changed

+3
-98
lines changed

components/Login/Login.tsx

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,7 @@ import {
44
useSignInWithEmailAndPassword,
55
SignInWithEmailAndPasswordData
66
} from "../auth/hooks"
7-
import {
8-
Form,
9-
Stack,
10-
Button,
11-
Alert,
12-
Container,
13-
Row,
14-
Col,
15-
Card
16-
} from "../bootstrap"
7+
import { Form, Stack, Alert, Container, Row, Col, Card } from "../bootstrap"
178
import Input from "../forms/Input"
189
import PasswordInput from "../forms/PasswordInput"
1910
import { useTranslation } from "next-i18next"
@@ -47,7 +38,7 @@ export default function Login() {
4738
<Row className="justify-content-center">
4839
<Col xs={12} sm={10} md={8} lg={6}>
4940
<Card className="p-4 shadow-lg">
50-
<h2 className="text-center mb-4">{t("signInToAccess")}</h2>
41+
<h2 className="text-center">{t("signInToAccess")}</h2>
5142

5243
<Form onSubmit={onSubmit} noValidate>
5344
{signIn.error && (

components/Login/login.tsx

Lines changed: 0 additions & 86 deletions
This file was deleted.

public/locales/en/auth.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@
5757
"setUpProfile": "Set Up Your Profile",
5858
"probablySignedOut": "You were possibly signed out while trying to go to a page that needs to be signed in to function",
5959
"pleaseConsider": "Please consider logging in first:",
60-
"signInToAccess": "Login required to access the contents"
60+
"signInToAccess": "Login required to access the content"
6161
}

0 commit comments

Comments
 (0)